schema property
Implementation
static final schema = <String, Object>{
r'$schema': 'http://json-schema.org/draft-07/schema#',
r'$id': id,
'title': 'Column',
'type': 'object',
'additionalProperties': false,
'properties': {
'crossAxisAlignment': SchemaHelper.objectSchema(
CrossAxisAlignmentSchema.id,
),
'mainAxisAlignment': SchemaHelper.objectSchema(
MainAxisAlignmentSchema.id,
),
'mainAxisSize': SchemaHelper.objectSchema(MainAxisSizeSchema.id),
'spacing': SchemaHelper.numberSchema,
'textBaseline': SchemaHelper.objectSchema(TextBaselineSchema.id),
'textDirection': SchemaHelper.objectSchema(TextDirectionSchema.id),
'verticalDirection': SchemaHelper.objectSchema(
VerticalDirectionSchema.id,
),
'children': SchemaHelper.arraySchema(JsonWidgetDataSchema.id),
},
'required': [],
};