schema property
Implementation
static final schema = {
r'$schema': 'http://json-schema.org/draft-06/schema#',
r'$id': id,
r'$children': -1,
r'$comment':
'https://api.flutter.dev/flutter/material/ButtonBar-class.html',
'title': 'ButtonBar',
'type': 'object',
'additionalProperties': false,
'properties': {
'alignment': SchemaHelper.objectSchema(MainAxisAlignmentSchema.id),
'buttonAlignedDropdown': SchemaHelper.boolSchema,
'buttonHeight': SchemaHelper.numberSchema,
'buttonMinWidth': SchemaHelper.numberSchema,
'buttonPadding': SchemaHelper.objectSchema(EdgeInsetsGeometrySchema.id),
'buttonTextTheme': SchemaHelper.objectSchema(ButtonTextThemeSchema.id),
'layoutBehavior':
SchemaHelper.objectSchema(ButtonBarLayoutBehaviorSchema.id),
'mainAxisSize': SchemaHelper.objectSchema(MainAxisSizeSchema.id),
'overflowButtonSpacing': SchemaHelper.numberSchema,
'overflowDirection':
SchemaHelper.objectSchema(VerticalDirectionSchema.id),
},
};