schema property
Implementation
static final schema = {
r'$schema': 'http://json-schema.org/draft-06/schema#',
r'$id': '$id',
r'$comment':
'https://api.flutter.dev/flutter/material/DrawerThemeData-class.html',
'title': 'DrawerThemeData',
'type': 'object',
'properties': {
'alignment': SchemaHelper.objectSchema(AlignmentSchema.id),
'backgroundColor': SchemaHelper.objectSchema(ColorSchema.id),
'contentTextStyle': SchemaHelper.objectSchema(TextStyleSchema.id),
'elevation': SchemaHelper.numberSchema,
'shape': SchemaHelper.objectSchema(ShapeBorderSchema.id),
'titleTextStyle': SchemaHelper.objectSchema(TextStyleSchema.id),
},
};