MaterialTextFieldData class final

Inheritance

Constructors

MaterialTextFieldData({Key? widgetKey, Object groupId = kDefaultGroupId, TextEditingController? controller, FocusNode? focusNode, UndoHistoryController? undoController, TextInputType? keyboardType, TextInputAction? textInputAction, TextCapitalization textCapitalization = kDefaultTextCapitalization, TextStyle? style, StrutStyle? strutStyle, TextAlign textAlign = kDefaultTextAlign, TextAlignVertical? textAlignVertical, TextDirection? textDirection, bool readOnly = kDefaultReadOnly, bool? showCursor, bool autofocus = kDefaultAutofocus, String obscuringCharacter = kDefaultObscuringCharacter, bool obscureText = kDefaultObscureText, bool? autocorrect, SmartDashesType? smartDashesType, SmartQuotesType? smartQuotesType, bool enableSuggestions = kDefaultEnableSuggestions, int maxLines = kDefaultMaxLines, int? minLines, bool expands = kDefaultExpands, int? maxLength, MaxLengthEnforcement? maxLengthEnforcement = kDefaultMaxLengthEnforcement, ValueChanged<String>? onChanged, VoidCallback? onEditingComplete, ValueChanged<String>? onSubmitted, List<TextInputFormatter>? inputFormatters, bool? enabled, double cursorWidth = kDefaultCursorWidth, double? cursorHeight, Radius? cursorRadius = kDefaultCursorRadius, bool cursorOpacityAnimates = kDefaultCursorOpacityAnimates, Color? cursorColor, BoxHeightStyle? selectionHeightStyle, BoxWidthStyle? selectionWidthStyle, Brightness? keyboardAppearance, DragStartBehavior dragStartBehavior = kDefaultDragStartBehavior, bool? enableInteractiveSelection = kDefaultEnableInteractiveSelection, bool? selectAllOnFocus = kDefaultSelectAllOnFocus, TextSelectionControls? selectionControls, GestureTapCallback? onTap, TapRegionCallback? onTapOutside, TapRegionUpCallback? onTapUpOutside, ScrollController? scrollController, ScrollPhysics? scrollPhysics, EdgeInsets scrollPadding = kDefaultScrollPadding, Iterable<String>? autofillHints, ContentInsertionConfiguration? contentInsertionConfiguration, Clip clipBehavior = kDefaultClipBehavior, String? restorationId, bool stylusHandwritingEnabled = kDefaultStylusHandwritingEnabled, bool enableIMEPersonalizedLearning = kDefaultEnableIMEPersonalizedLearning, EditableTextContextMenuBuilder? contextMenuBuilder, SpellCheckConfiguration? spellCheckConfiguration, TextMagnifierConfiguration? magnifierConfiguration, InputCounterWidgetBuilder? buildCounter, bool canRequestFocus = kDefaultCanRequestFocus, Color? cursorErrorColor, InputDecoration decoration = kDefaultDecoration, List<Locale>? hintLocales, bool? ignorePointers, MouseCursor? mouseCursor, AppPrivateCommandCallback? onAppPrivateCommand, bool onTapAlwaysCalled = kDefaultOnTapAlwaysCalled, WidgetStatesController? statesController})
const

Properties

autocorrect bool?
finalinherited
autofillHints Iterable<String>?
finalinherited
autofocus bool
finalinherited
buildCounter InputCounterWidgetBuilder?
final
canRequestFocus bool
final
clipBehavior Clip
finalinherited
contentInsertionConfiguration ContentInsertionConfiguration?
finalinherited
contextMenuBuilder EditableTextContextMenuBuilder?
finalinherited
controller TextEditingController?
finalinherited
cursorColor Color?
finalinherited
cursorErrorColor Color?
final
cursorHeight double?
finalinherited
cursorOpacityAnimates bool
finalinherited
cursorRadius Radius?
finalinherited
cursorWidth double
finalinherited
decoration InputDecoration
final
dragStartBehavior DragStartBehavior
finalinherited
enabled bool?
finalinherited
enableIMEPersonalizedLearning bool
finalinherited
enableInteractiveSelection bool?
finalinherited
enableSuggestions bool
finalinherited
expands bool
finalinherited
focusNode FocusNode?
finalinherited
groupId Object
finalinherited
hashCode int
The hash code for this object.
no setterinherited
hintLocales List<Locale>?
final
ignorePointers bool?
final
inputFormatters List<TextInputFormatter>?
finalinherited
keyboardAppearance Brightness?
finalinherited
keyboardType TextInputType?
finalinherited
magnifierConfiguration TextMagnifierConfiguration?
finalinherited
maxLength int?
finalinherited
maxLengthEnforcement MaxLengthEnforcement?
finalinherited
maxLines int
finalinherited
minLines int?
finalinherited
mouseCursor MouseCursor?
final
obscureText bool
finalinherited
obscuringCharacter String
finalinherited
onAppPrivateCommand AppPrivateCommandCallback?
final
onChanged ValueChanged<String>?
finalinherited
onEditingComplete VoidCallback?
finalinherited
onSubmitted ValueChanged<String>?
finalinherited
onTap GestureTapCallback?
finalinherited
onTapAlwaysCalled bool
final
onTapOutside TapRegionCallback?
finalinherited
onTapUpOutside TapRegionUpCallback?
finalinherited
readOnly bool
finalinherited
restorationId String?
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollController ScrollController?
finalinherited
scrollPadding EdgeInsets
finalinherited
scrollPhysics ScrollPhysics?
finalinherited
selectAllOnFocus bool?
finalinherited
selectionControls TextSelectionControls?
finalinherited
selectionHeightStyle BoxHeightStyle?
finalinherited
selectionWidthStyle BoxWidthStyle?
finalinherited
showCursor bool?
finalinherited
smartDashesType SmartDashesType?
finalinherited
smartQuotesType SmartQuotesType?
finalinherited
spellCheckConfiguration SpellCheckConfiguration?
finalinherited
statesController WidgetStatesController?
final
strutStyle StrutStyle?
finalinherited
style TextStyle?
finalinherited
stylusHandwritingEnabled bool
finalinherited
textAlign TextAlign
finalinherited
textAlignVertical TextAlignVertical?
finalinherited
textCapitalization TextCapitalization
finalinherited
textDirection TextDirection?
finalinherited
textInputAction TextInputAction?
finalinherited
undoController UndoHistoryController?
finalinherited
widgetKey Key?
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited