schema property
Implementation
static final schema = <String, Object>{
r'$schema': 'http://json-schema.org/draft-07/schema#',
r'$id': id,
'title': 'Scrollbar',
'type': 'object',
'additionalProperties': false,
'properties': {
'controller': SchemaHelper.anySchema,
'interactive': SchemaHelper.boolSchema,
'notificationPredicate': SchemaHelper.anySchema,
'radius': SchemaHelper.objectSchema(RadiusSchema.id),
'scrollbarOrientation':
SchemaHelper.objectSchema(ScrollbarOrientationSchema.id),
'thickness': SchemaHelper.numberSchema,
'thumbVisibility': SchemaHelper.boolSchema,
'trackVisibility': SchemaHelper.boolSchema,
'child': SchemaHelper.objectSchema(JsonWidgetDataSchema.id),
},
};