MaterialTextFieldData class Null safety

Constructors

MaterialTextFieldData({Key? widgetKey, TextEditingController? controller, FocusNode? focusNode, InputDecoration? decoration, TextInputType? keyboardType, TextInputAction? textInputAction, TextCapitalization? textCapitalization, TextStyle? style, TextAlign? textAlign, TextDirection? textDirection, bool? autofocus, bool? obscureText, bool? autocorrect, int? maxLines, int? maxLength, void onChanged(String)?, void onEditingComplete()?, void onSubmitted(String)?, List<TextInputFormatter>? inputFormatters, bool? enabled, double? cursorWidth, Radius? cursorRadius, Color? cursorColor, Brightness? keyboardAppearance, EdgeInsets? scrollPadding, bool? enableInteractiveSelection, GestureTapCallback? onTap, InputCounterWidgetBuilder? buildCounter, DragStartBehavior? dragStartBehavior, bool? expands, int? minLines, ScrollPhysics? scrollPhysics, StrutStyle? strutStyle, ScrollController? scrollController, bool? readOnly, bool? showCursor, TextAlignVertical? textAlignVertical, ToolbarOptions? toolbarOptions, bool? enableSuggestions, SmartDashesType? smartDashesType, SmartQuotesType? smartQuotesType, BoxHeightStyle? selectionHeightStyle, BoxWidthStyle? selectionWidthStyle, String? obscuringCharacter, Iterable<String>? autofillHints, MouseCursor? mouseCursor, AppPrivateCommandCallback? onAppPrivateCommand, double? cursorHeight, String? restorationId, MaxLengthEnforcement? maxLengthEnforcement, TextSelectionControls? selectionControls})

Properties

autocorrect bool?
final
autofillHints Iterable<String>?
final
autofocus bool?
final
buildCounter InputCounterWidgetBuilder?
final
controller TextEditingController?
final
cursorColor Color?
final
cursorHeight double?
final
cursorRadius Radius?
final
cursorWidth double?
final
decoration InputDecoration?
final
dragStartBehavior DragStartBehavior?
final
enabled bool?
final
enableInteractiveSelection bool?
final
enableSuggestions bool?
final
expands bool?
final
focusNode FocusNode?
final
hashCode int
The hash code for this object. [...]
read-only, inherited
inputFormatters List<TextInputFormatter>?
final
keyboardAppearance Brightness?
final
keyboardType TextInputType?
final
maxLength int?
final
maxLengthEnforcement MaxLengthEnforcement?
final
maxLines int?
final
minLines int?
final
mouseCursor MouseCursor?
final
obscureText bool?
final
obscuringCharacter String?
final
onAppPrivateCommand AppPrivateCommandCallback?
final
onChanged → (void Function?(String)?)
final
onEditingComplete → (void Function?()?)
final
onSubmitted → (void Function?(String)?)
final
onTap GestureTapCallback?
final
readOnly bool?
final
restorationId String?
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
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
strutStyle StrutStyle?
final
style TextStyle?
final
textAlign TextAlign?
final
textAlignVertical TextAlignVertical?
final
textCapitalization TextCapitalization?
final
textDirection TextDirection?
final
textInputAction TextInputAction?
final
toolbarOptions ToolbarOptions?
final
widgetKey Key?
final

Methods

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

Operators

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