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/DecorationImage-class.html',
  'title': 'DecorationImage',
  'type': 'object',
  'properties': {
    'alignment': SchemaHelper.objectSchema(AlignmentSchema.id),
    'centerSlice': SchemaHelper.objectSchema(RectSchema.id),
    'filterQuality': SchemaHelper.objectSchema(FilterQualitySchema.id),
    'fit': SchemaHelper.objectSchema(BoxFitSchema.id),
    'image': SchemaHelper.objectSchema(ImageProviderSchema.id),
    'invertColors': SchemaHelper.boolSchema,
    'isAntiAlias': SchemaHelper.boolSchema,
    'matchTextDirection': SchemaHelper.boolSchema,
    'opacity': SchemaHelper.numberSchema,
    'repeat': SchemaHelper.objectSchema(ImageRepeatSchema.id),
    'scale': SchemaHelper.numberSchema,
  },
};