schema property

Map<String, Object> schema
final

Implementation

static final schema = {
  r'$schema': 'http://json-schema.org/draft-06/schema#',
  r'$id': '$id',
  r'$comment':
      'https://api.flutter.dev/flutter/material/ButtonThemeData-class.html',
  'title': 'ButtonThemeData',
  'type': 'object',
  'properties': {
    'alignedDropdown': SchemaHelper.boolSchema,
    'buttonColor': SchemaHelper.objectSchema(ColorSchema.id),
    'colorScheme': SchemaHelper.objectSchema(ColorSchemeSchema.id),
    'disabledColor': SchemaHelper.objectSchema(ColorSchema.id),
    'focusColor': SchemaHelper.objectSchema(ColorSchema.id),
    'height': SchemaHelper.numberSchema,
    'hoverColor': SchemaHelper.objectSchema(ColorSchema.id),
    'layoutBehavior':
        SchemaHelper.objectSchema(ButtonBarLayoutBehaviorSchema.id),
    'materialTapTargetSize':
        SchemaHelper.objectSchema(MaterialTapTargetSizeSchema.id),
    'minWidth': SchemaHelper.numberSchema,
    'padding': SchemaHelper.objectSchema(EdgeInsetsGeometrySchema.id),
    'shape': SchemaHelper.objectSchema(ShapeBorderSchema.id),
    'splashColor': SchemaHelper.objectSchema(ColorSchema.id),
    'textTheme': SchemaHelper.objectSchema(ButtonTextThemeSchema.id),
  },
};