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/SwitchThemeData-class.html',
  'title': 'SwitchThemeDataSchema',
  'type': 'object',
  'properties': {
    'materialTapTargetSize': SchemaHelper.objectSchema(
      MaterialTapTargetSizeSchema.id,
    ),
    'mouseCursor': SchemaHelper.objectSchema(MouseCursorSchema.id),
    'overlayColor': SchemaHelper.objectSchema(
      MaterialStatePropertyColorSchema.id,
    ),
    'splashRadius': SchemaHelper.numberSchema,
    'thumbColor': SchemaHelper.objectSchema(
      MaterialStatePropertyColorSchema.id,
    ),
    'trackColor': SchemaHelper.objectSchema(
      MaterialStatePropertyColorSchema.id,
    ),
  },
};