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/PrimaryScrollController-class.html',
  'type': 'object',
  'title': 'PrimaryScrollController',
  'additionalProperties': false,
  'properties': {
    'automaticallyInheritForPlatforms': SchemaHelper.arraySchema(
      TargetPlatformSchema.id,
    ),
    'controller': SchemaHelper.stringSchema,
    'debugLabel': SchemaHelper.stringSchema,
    'initialScrollOffset': SchemaHelper.numberSchema,
    'keepScrollOffset': SchemaHelper.boolSchema,
    'scrollDirection': SchemaHelper.objectSchema(AxisSchema.id),
  }
};