schema property
Implementation
static final schema = {
r'$schema': 'http://json-schema.org/draft-06/schema#',
r'$id': id,
r'$children': -1,
r'$comment': 'https://api.flutter.dev/flutter/widgets/Row-class.html',
'title': 'Row',
'oneOf': [
{
'type': 'null',
},
{
'type': 'object',
'additionalProperties': false,
'properties': {
'crossAxisAlignment':
SchemaHelper.objectSchema(CrossAxisAlignmentSchema.id),
'mainAxisAlignment':
SchemaHelper.objectSchema(MainAxisAlignmentSchema.id),
'mainAxisSize': SchemaHelper.objectSchema(MainAxisSizeSchema.id),
'textBaseline': SchemaHelper.objectSchema(TextBaselineSchema.id),
'textDirection': SchemaHelper.objectSchema(TextDirectionSchema.id),
'verticalDirection':
SchemaHelper.objectSchema(VerticalDirectionSchema.id),
},
},
],
};