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/StrutStyle-class.html',
  'title': 'StrutStyle',
  'type': 'object',
  'properties': {
    'fontFamily': SchemaHelper.stringSchema,
    'fontFamilyFallback': {
      'type': 'array',
      'items': SchemaHelper.stringSchema,
    },
    'fontSize': SchemaHelper.numberSchema,
    'fontStyle': SchemaHelper.objectSchema(FontStyleSchema.id),
    'fontWeight': SchemaHelper.objectSchema(FontWeightSchema.id),
    'forceStrutHeight': SchemaHelper.boolSchema,
    'height': SchemaHelper.numberSchema,
    'leading': SchemaHelper.numberSchema,
    'package': SchemaHelper.stringSchema,
  },
};