schema property
Implementation
static final schema = <String, Object>{
r'$schema': 'http://json-schema.org/draft-07/schema#',
r'$id': id,
'title': 'AnimatedDefaultTextStyle',
'type': 'object',
'additionalProperties': false,
'properties': {
'curve': SchemaHelper.anySchema,
'duration': SchemaHelper.anySchema,
'maxLines': SchemaHelper.numberSchema,
'onEnd': SchemaHelper.anySchema,
'overflow': SchemaHelper.objectSchema(TextOverflowSchema.id),
'softWrap': SchemaHelper.boolSchema,
'style': SchemaHelper.objectSchema(TextStyleSchema.id),
'textAlign': SchemaHelper.objectSchema(TextAlignSchema.id),
'textHeightBehavior':
SchemaHelper.objectSchema(TextHeightBehaviorSchema.id),
'textWidthBasis': SchemaHelper.objectSchema(TextWidthBasisSchema.id),
'child': SchemaHelper.objectSchema(JsonWidgetDataSchema.id),
},
};