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/SnackBarThemeData-class.html',
  'title': 'SnackBarThemeData',
  'type': 'object',
  'properties': {
    'actionTextColor': SchemaHelper.objectSchema(ColorSchema.id),
    'backgroundColor': SchemaHelper.objectSchema(ColorSchema.id),
    'behavior': SchemaHelper.objectSchema(SnackBarBehaviorSchema.id),
    'contentTextStyle': SchemaHelper.objectSchema(TextStyleSchema.id),
    'disabledActionTextColor': SchemaHelper.objectSchema(ColorSchema.id),
    'elevation': SchemaHelper.numberSchema,
    'shape': SchemaHelper.objectSchema(ShapeBorderSchema.id),
  },
};