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/BottomNavigationBarThemeData-class.html',
  'type': 'object',
  'title': 'BottomNavigationBarThemeDataSchema',
  'additionalProperties': false,
  'properties': {
    'backgroundColor': SchemaHelper.objectSchema(ColorSchema.id),
    'elevation': SchemaHelper.numberSchema,
    'selectedIconTheme': SchemaHelper.objectSchema(IconThemeDataSchema.id),
    'selectedItemColor': SchemaHelper.objectSchema(ColorSchema.id),
    'selectedLabelStyle': SchemaHelper.objectSchema(TextStyleSchema.id),
    'showSelectedLabels': SchemaHelper.boolSchema,
    'showUnselectedLabels': SchemaHelper.boolSchema,
    'type': SchemaHelper.objectSchema(BottomNavigationBarTypeSchema.id),
    'unselectedIconTheme': SchemaHelper.objectSchema(IconThemeDataSchema.id),
    'unselectedItemColor': SchemaHelper.objectSchema(ColorSchema.id),
    'unselectedLabelStyle': SchemaHelper.objectSchema(TextStyleSchema.id),
  },
};