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/AnimatedDefaultTextStyle-class.html',
'type': 'object',
'title': 'AnimatedDefaultTextStyle',
'additionalProperties': false,
'required': [
'duration',
'style',
],
'properties': {
'curve': SchemaHelper.stringSchema,
'duration': SchemaHelper.numberSchema,
'maxLines': SchemaHelper.numberSchema,
'onEnd': SchemaHelper.stringSchema,
'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),
},
};