base constant
UiVocabularySchema
const base
Default base schema — broad enough to cover the spec's acceptance scenarios (product-offer card with a Select Offer button).
Implementation
static const UiVocabularySchema base = UiVocabularySchema(
allowedNodeTypes: {
'root',
'container',
'card',
'button',
'text',
'image',
'list',
'row',
'column',
'divider',
},
allowedStyleTokens: {
'primary',
'secondary',
'tertiary',
'success',
'warning',
'danger',
'neutral',
},
nodeCap: 256,
schemaVersion: '1.0.0',
);