schema property
Implementation
static final schema = <String, Object>{
r'$schema': 'http://json-schema.org/draft-07/schema#',
r'$id': id,
'title': '_TextFormField',
'type': 'object',
'additionalProperties': false,
'properties': {
'autocorrect': SchemaHelper.boolSchema,
'autofillHints': SchemaHelper.anySchema,
'autofocus': SchemaHelper.boolSchema,
'autovalidateMode': SchemaHelper.objectSchema(AutovalidateModeSchema.id),
'buildCounter': SchemaHelper.anySchema,
'canRequestFocus': SchemaHelper.boolSchema,
'clipBehavior': SchemaHelper.objectSchema(ClipSchema.id),
'contentInsertionConfiguration': SchemaHelper.anySchema,
'contextMenuBuilder': SchemaHelper.anySchema,
'controller': SchemaHelper.anySchema,
'cursorColor': SchemaHelper.objectSchema(ColorSchema.id),
'cursorHeight': SchemaHelper.numberSchema,
'cursorOpacityAnimates': SchemaHelper.boolSchema,
'cursorRadius': SchemaHelper.objectSchema(RadiusSchema.id),
'cursorWidth': SchemaHelper.numberSchema,
'decoration': _JsonTextFormFieldBuilder._inputDecorationSchema(),
'dragStartBehavior':
SchemaHelper.objectSchema(DragStartBehaviorSchema.id),
'enableIMEPersonalizedLearning': SchemaHelper.boolSchema,
'enableInteractiveSelection': SchemaHelper.boolSchema,
'enableSuggestions': SchemaHelper.boolSchema,
'enabled': SchemaHelper.boolSchema,
'expands': SchemaHelper.boolSchema,
'focusNode': SchemaHelper.anySchema,
'initialValue': SchemaHelper.stringSchema,
'inputFormatters': SchemaHelper.anySchema,
'keyboardAppearance': SchemaHelper.objectSchema(BrightnessSchema.id),
'keyboardType': SchemaHelper.objectSchema(TextInputTypeSchema.id),
'magnifierConfiguration': SchemaHelper.anySchema,
'maxLength': SchemaHelper.numberSchema,
'maxLengthEnforcement':
SchemaHelper.objectSchema(MaxLengthEnforcementSchema.id),
'maxLines': SchemaHelper.numberSchema,
'minLines': SchemaHelper.numberSchema,
'mouseCursor': SchemaHelper.objectSchema(MouseCursorSchema.id),
'obscureText': SchemaHelper.boolSchema,
'obscuringCharacter': SchemaHelper.stringSchema,
'onAppPrivateCommand': SchemaHelper.anySchema,
'onChanged': SchemaHelper.anySchema,
'onEditingComplete': SchemaHelper.anySchema,
'onFieldSubmitted': SchemaHelper.anySchema,
'onSaved': SchemaHelper.anySchema,
'onTap': SchemaHelper.anySchema,
'onTapOutside': SchemaHelper.anySchema,
'readOnly': SchemaHelper.boolSchema,
'restorationId': SchemaHelper.stringSchema,
'scribbleEnabled': SchemaHelper.boolSchema,
'scrollController': SchemaHelper.anySchema,
'scrollPadding': SchemaHelper.objectSchema(EdgeInsetsSchema.id),
'scrollPhysics': SchemaHelper.objectSchema(ScrollPhysicsSchema.id),
'selectionControls': SchemaHelper.anySchema,
'selectionHeightStyle':
SchemaHelper.objectSchema(BoxHeightStyleSchema.id),
'selectionWidthStyle': SchemaHelper.objectSchema(BoxWidthStyleSchema.id),
'showCursor': SchemaHelper.boolSchema,
'smartDashesType': SchemaHelper.objectSchema(SmartDashesTypeSchema.id),
'smartQuotesType': SchemaHelper.objectSchema(SmartQuotesTypeSchema.id),
'spellCheckConfiguration': SchemaHelper.anySchema,
'strutStyle': SchemaHelper.objectSchema(StrutStyleSchema.id),
'style': SchemaHelper.objectSchema(TextStyleSchema.id),
'textAlign': SchemaHelper.objectSchema(TextAlignSchema.id),
'textAlignVertical':
SchemaHelper.objectSchema(TextAlignVerticalSchema.id),
'textCapitalization':
SchemaHelper.objectSchema(TextCapitalizationSchema.id),
'textDirection': SchemaHelper.objectSchema(TextDirectionSchema.id),
'textInputAction': SchemaHelper.objectSchema(TextInputActionSchema.id),
'undoController': SchemaHelper.anySchema,
'validators': SchemaHelper.anySchema,
},
};