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/SafeArea-class.html',
  'oneOf': [
    {
      'type': 'null',
    },
    {
      'type': 'object',
      'title': 'SafeAreaSchema',
      'additionalProperties': false,
      'properties': {
        'bottom': SchemaHelper.boolSchema,
        'left': SchemaHelper.boolSchema,
        'maintainBottomViewPadding': SchemaHelper.boolSchema,
        'minimum': SchemaHelper.objectSchema(EdgeInsetsGeometrySchema.id),
        'right': SchemaHelper.boolSchema,
        'top': SchemaHelper.boolSchema,
      },
    }
  ],
};