JsonTextFormFieldBuilderModel class
- Inheritance
-
- Object
- JsonClass
- JsonWidgetBuilderModel
- JsonTextFormFieldBuilderModel
Constructors
-
JsonTextFormFieldBuilderModel(Map<
String, dynamic> args, {bool autocorrect = true, Iterable<String> ? 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, 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, bool expands = false, FocusNode? focusNode, 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()?, void onTapOutside(PointerDownEvent)?, bool readOnly = false, String? restorationId, bool scribbleEnabled = true, ScrollController? scrollController, EdgeInsets scrollPadding = const EdgeInsets.all(20.0), ScrollPhysics? scrollPhysics, TextSelectionControls? selectionControls, BoxHeightStyle selectionHeightStyle = BoxHeightStyle.tight, BoxWidthStyle selectionWidthStyle = BoxWidthStyle.tight, bool? showCursor, SmartDashesType? smartDashesType, SmartQuotesType? smartQuotesType, SpellCheckConfiguration? spellCheckConfiguration, StrutStyle? strutStyle, TextStyle? style, 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
→ Iterable<
String> ? -
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
- 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
- expands → bool
-
final
- focusNode → FocusNode?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
- onTapOutside → (void Function(PointerDownEvent)?)
-
final
- readOnly → bool
-
final
- restorationId → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scribbleEnabled → bool
-
final
- scrollController → ScrollController?
-
final
- scrollPadding → EdgeInsets
-
final
- scrollPhysics → ScrollPhysics?
-
final
- selectionControls → TextSelectionControls?
-
final
- selectionHeightStyle → BoxHeightStyle
-
final
- selectionWidthStyle → BoxWidthStyle
-
final
- showCursor → bool?
-
final
- smartDashesType → SmartDashesType?
-
final
- smartQuotesType → SmartQuotesType?
-
final
- spellCheckConfiguration → SpellCheckConfiguration?
-
final
- strutStyle → StrutStyle?
-
final
- style → TextStyle?
-
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?