schema property
Implementation
static final schema = {
r'$schema': 'http://json-schema.org/draft-07/schema#',
r'$id': id,
r'$comment':
'https://api.flutter.dev/flutter/cupertino/CupertinoThemeData-class.html',
'title': 'CupertinoThemeData',
'type': 'object',
'properties': {
'applyThemeToAll': SchemaHelper.boolSchema,
'barBackgroundColor': SchemaHelper.objectSchema(ColorSchema.id),
'brightness': SchemaHelper.objectSchema(BrightnessSchema.id),
'primaryColor': SchemaHelper.objectSchema(ColorSchema.id),
'primaryContrastingColor': SchemaHelper.objectSchema(ColorSchema.id),
'scaffoldBackgroundColor': SchemaHelper.objectSchema(ColorSchema.id),
'textTheme': SchemaHelper.objectSchema(CupertinoTextThemeDataSchema.id),
},
};