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/ScrollPhysics-class.html',
  'title': 'ScrollPhysics',
  'type': 'object',
  'properties': {
    'parent': SchemaHelper.objectSchema(id),
    'type': {
      'type': 'string',
      'enum': [
        'always',
        'bouncing',
        'clamping',
        'fixedExtent',
        'never',
        'page',
        'rangeMaintaining',
      ],
    },
  },
};