schema property

Map<String, Object> schema
final

Implementation

static final schema = {
  r'$schema': 'http://json-schema.org/draft-06/schema#',
  r'$id': id,
  r'$children': 1,
  r'$comment': 'https://api.flutter.dev/flutter/widgets/Scrollbar-class.html',
  'type': 'object',
  'title': 'Scrollbar',
  'additionalProperties': false,
  'properties': {
    'controller': SchemaHelper.stringSchema,
    'interactive': SchemaHelper.boolSchema,
    'notificationPredicate': SchemaHelper.stringSchema,
    'radius': SchemaHelper.objectSchema(RadiusSchema.id),
    'scrollbarOrientation': SchemaHelper.objectSchema(
      ScrollbarOrientationSchema.id,
    ),
    'thickness': SchemaHelper.numberSchema,
    'thumbVisibility': SchemaHelper.boolSchema,
  },
};