schema property

Map<String, Object> schema
final

Implementation

static final schema = <String, Object>{
  r'$schema': 'http://json-schema.org/draft-07/schema#',
  r'$id': id,
  'title': 'CustomScrollView',
  'type': 'object',
  'additionalProperties': false,
  'properties': {
    'anchor': SchemaHelper.numberSchema,
    'cacheExtent': SchemaHelper.numberSchema,
    'center': SchemaHelper.anySchema,
    'clipBehavior': SchemaHelper.objectSchema(ClipSchema.id),
    'controller': SchemaHelper.anySchema,
    'dragStartBehavior':
        SchemaHelper.objectSchema(DragStartBehaviorSchema.id),
    'keyboardDismissBehavior':
        SchemaHelper.objectSchema(ScrollViewKeyboardDismissBehaviorSchema.id),
    'physics': SchemaHelper.objectSchema(ScrollPhysicsSchema.id),
    'primary': SchemaHelper.boolSchema,
    'restorationId': SchemaHelper.stringSchema,
    'reverse': SchemaHelper.boolSchema,
    'scrollBehavior': SchemaHelper.objectSchema(ScrollBehaviorSchema.id),
    'scrollDirection': SchemaHelper.objectSchema(AxisSchema.id),
    'semanticChildCount': SchemaHelper.numberSchema,
    'shrinkWrap': SchemaHelper.boolSchema,
    'children': SchemaHelper.arraySchema(JsonWidgetDataSchema.id),
  },
};