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/painting/BoxDecoration-class.html',
  'type': 'object',
  'title': 'BoxDecoration',
  'additionalProperties': false,
  'properties': {
    'backgroundBlendMode': SchemaHelper.objectSchema(BlendModeSchema.id),
    'border': SchemaHelper.objectSchema(BoxBorderSchema.id),
    'borderRadius': SchemaHelper.objectSchema(BorderRadiusSchema.id),
    'boxShadow': SchemaHelper.arraySchema(BoxShadowSchema.id),
    'color': SchemaHelper.objectSchema(ColorSchema.id),
    'decorationImage': SchemaHelper.objectSchema(DecorationImageSchema.id),
    'gradient': SchemaHelper.objectSchema(GradientSchema.id),
    'image': SchemaHelper.objectSchema(DecorationImageSchema.id),
    'shape': SchemaHelper.objectSchema(BoxShapeSchema.id),
  },
};