schema property

Map<String, Object> schema
final

Implementation

static final schema = {
  r'$schema': 'http://json-schema.org/draft-06/schema#',
  r'$id': '$id',
  r'$comment':
      'https://api.flutter.dev/flutter/widgets/CustomScrollView-class.html',
  'title': 'CustomScrollView',
  'type': 'object',
  'additionalProperties': false,
  'properties': {
    'anchor': SchemaHelper.numberSchema,
    'cacheExtent': SchemaHelper.numberSchema,
    'clipBehavior': SchemaHelper.objectSchema(ClipSchema.id),
    'center': SchemaHelper.stringSchema,
    'controller': SchemaHelper.stringSchema,
    'dragStartBehavior':
        SchemaHelper.objectSchema(DragStartBehaviorSchema.id),
    'keyboardDismissBehavior':
        SchemaHelper.objectSchema(ScrollViewKeyboardDismissBehaviorSchema.id),
    'padding': SchemaHelper.objectSchema(EdgeInsetsGeometrySchema.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,
  },
};