JsonTextFormFieldBuilderModel class
- Inheritance
-
- Object
- JsonClass
- JsonWidgetBuilderModel
- JsonTextFormFieldBuilderModel
Constructors
-
JsonTextFormFieldBuilderModel(Map<
String, dynamic> args, {bool autocorrect = true, required dynamic autofillHints, bool autofocus = false, AutovalidateMode? autovalidateMode, Widget? buildCounter(BuildContext, {required int currentLength, required bool isFocused, required int? maxLength})?, bool canRequestFocus = true, Clip clipBehavior = Clip.hardEdge, ContentInsertionConfiguration? contentInsertionConfiguration, Widget contextMenuBuilder(BuildContext, EditableTextState)?, required TextEditingController? controller, Color? cursorColor, Color? cursorErrorColor, double? cursorHeight, bool? cursorOpacityAnimates, Radius? cursorRadius, double cursorWidth = 2.0, required dynamic decoration, DragStartBehavior dragStartBehavior = DragStartBehavior.start, bool enableIMEPersonalizedLearning = true, bool? enableInteractiveSelection, bool enableSuggestions = true, bool? enabled, Widget errorBuilder(BuildContext, String)?, bool expands = false, FocusNode? focusNode, String? forceErrorText, Object groupId = EditableText, List<Locale> ? hintLocales, bool? ignorePointers, String? initialValue, List<TextInputFormatter> ? inputFormatters, Brightness? keyboardAppearance, TextInputType? keyboardType, TextMagnifierConfiguration? magnifierConfiguration, int? maxLength, MaxLengthEnforcement? maxLengthEnforcement, int? maxLines = 1, int? minLines, MouseCursor? mouseCursor, bool obscureText = false, String obscuringCharacter = '•', void onAppPrivateCommand(String, Map<String, dynamic> )?, void onChanged(String)?, void onEditingComplete()?, void onFieldSubmitted(String)?, void onSaved(String?)?, void onTap()?, bool onTapAlwaysCalled = false, void onTapOutside(PointerDownEvent)?, void onTapUpOutside(PointerUpEvent)?, bool readOnly = false, String? restorationId, ScrollController? scrollController, EdgeInsets scrollPadding = const EdgeInsets.all(20.0), ScrollPhysics? scrollPhysics, bool? selectAllOnFocus, TextSelectionControls? selectionControls, BoxHeightStyle selectionHeightStyle = BoxHeightStyle.tight, BoxWidthStyle selectionWidthStyle = BoxWidthStyle.tight, bool? showCursor, SmartDashesType? smartDashesType, SmartQuotesType? smartQuotesType, SpellCheckConfiguration? spellCheckConfiguration, WidgetStatesController? statesController, StrutStyle? strutStyle, TextStyle? style, bool stylusHandwritingEnabled = true, TextAlign textAlign = TextAlign.start, TextAlignVertical? textAlignVertical, TextCapitalization textCapitalization = TextCapitalization.none, TextDirection? textDirection, TextInputAction? textInputAction, UndoHistoryController? undoController, required dynamic validators}) -
const
Properties
-
args
→ Map<
String, dynamic> -
finalinherited
- autocorrect → bool
-
final
- autofillHints → dynamic
-
final
- autofocus → bool
-
final
- autovalidateMode → AutovalidateMode?
-
final
- buildCounter → Widget? Function(BuildContext, {required int currentLength, required bool isFocused, required int? maxLength})?
-
final
- canRequestFocus → bool
-
final
- clipBehavior → Clip
-
final
- contentInsertionConfiguration → ContentInsertionConfiguration?
-
final
- contextMenuBuilder → Widget Function(BuildContext, EditableTextState)?
-
final
- controller → TextEditingController?
-
final
- cursorColor → Color?
-
final
- cursorErrorColor → Color?
-
final
- cursorHeight → double?
-
final
- cursorOpacityAnimates → bool?
-
final
- cursorRadius → Radius?
-
final
- cursorWidth → double
-
final
- decoration → dynamic
-
final
- dragStartBehavior → DragStartBehavior
-
final
- enabled → bool?
-
final
- enableIMEPersonalizedLearning → bool
-
final
- enableInteractiveSelection → bool?
-
final
- enableSuggestions → bool
-
final
- errorBuilder → Widget Function(BuildContext, String)?
-
final
- expands → bool
-
final
- focusNode → FocusNode?
-
final
- forceErrorText → String?
-
final
- groupId → Object
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
hintLocales
→ List<
Locale> ? -
final
- ignorePointers → bool?
-
final
- initialValue → String?
-
final
-
inputFormatters
→ List<
TextInputFormatter> ? -
final
- keyboardAppearance → Brightness?
-
final
- keyboardType → TextInputType?
-
final
- magnifierConfiguration → TextMagnifierConfiguration?
-
final
- maxLength → int?
-
final
- maxLengthEnforcement → MaxLengthEnforcement?
-
final
- maxLines → int?
-
final
- minLines → int?
-
final
- mouseCursor → MouseCursor?
-
final
- obscureText → bool
-
final
- obscuringCharacter → String
-
final
-
onAppPrivateCommand
→ void Function(String, Map<
String, dynamic> )? -
final
- onChanged → void Function(String)?
-
final
- onEditingComplete → void Function()?
-
final
- onFieldSubmitted → void Function(String)?
-
final
- onSaved → void Function(String?)?
-
final
- onTap → void Function()?
-
final
- onTapAlwaysCalled → bool
-
final
- onTapOutside → void Function(PointerDownEvent)?
-
final
- onTapUpOutside → void Function(PointerUpEvent)?
-
final
- readOnly → bool
-
final
- restorationId → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollController → ScrollController?
-
final
- scrollPadding → EdgeInsets
-
final
- scrollPhysics → ScrollPhysics?
-
final
- selectAllOnFocus → bool?
-
final
- selectionControls → TextSelectionControls?
-
final
- selectionHeightStyle → BoxHeightStyle
-
final
- selectionWidthStyle → BoxWidthStyle
-
final
- showCursor → bool?
-
final
- smartDashesType → SmartDashesType?
-
final
- smartQuotesType → SmartQuotesType?
-
final
- spellCheckConfiguration → SpellCheckConfiguration?
-
final
- statesController → WidgetStatesController?
-
final
- strutStyle → StrutStyle?
-
final
- style → TextStyle?
-
final
- stylusHandwritingEnabled → bool
-
final
- textAlign → TextAlign
-
final
- textAlignVertical → TextAlignVertical?
-
final
- textCapitalization → TextCapitalization
-
final
- textDirection → TextDirection?
-
final
- textInputAction → TextInputAction?
-
final
- undoController → UndoHistoryController?
-
final
- validators → dynamic
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Abstract function that concrete classes must implement. This must encode
the internal data model to a JSON compatible representation.
override
-
toString(
) → String -
Returns the string encoded JSON representation for this class. This will
remove all null values and empty collections from the returned string.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromDynamic(
dynamic map, {Map< String, dynamic> args = const {}, JsonWidgetRegistry? registry}) → JsonTextFormFieldBuilderModel -
maybeFromDynamic(
dynamic map, {Map< String, dynamic> args = const {}, JsonWidgetRegistry? registry}) → JsonTextFormFieldBuilderModel?