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/AnimatedSwitcher-class.html',
  'type': 'object',
  'title': 'AnimatedSwitcher',
  'additionalProperties': false,
  'required': [
    'child',
    'duration',
  ],
  'properties': {
    'child': SchemaHelper.stringSchema,
    'duration': SchemaHelper.numberSchema,
    'layoutBuilder': SchemaHelper.stringSchema,
    'reverseDuration': SchemaHelper.numberSchema,
    'switchInCurve': SchemaHelper.stringSchema,
    'switchOutCurve': SchemaHelper.stringSchema,
    'transitionBuilder': SchemaHelper.stringSchema,
  },
};