schema property

Map<String, Object> schema
final

Implementation

static final schema = <String, Object>{
  r'$schema': 'http://json-schema.org/draft-07/schema#',
  r'$id': id,
  'title': '_Wrap',
  'type': 'object',
  'additionalProperties': false,
  'properties': {
    'alignment': SchemaHelper.objectSchema(WrapAlignmentSchema.id),
    'clipBehavior': SchemaHelper.objectSchema(ClipSchema.id),
    'crossAxisAlignment':
        SchemaHelper.objectSchema(WrapCrossAlignmentSchema.id),
    'direction': SchemaHelper.objectSchema(AxisSchema.id),
    'runAlignment': SchemaHelper.objectSchema(WrapAlignmentSchema.id),
    'runSpacing': SchemaHelper.numberSchema,
    'spacing': SchemaHelper.numberSchema,
    'textDirection': SchemaHelper.objectSchema(TextDirectionSchema.id),
    'verticalDirection':
        SchemaHelper.objectSchema(VerticalDirectionSchema.id),
    'children': SchemaHelper.arraySchema(JsonWidgetDataSchema.id),
  },
};