MaterialTextFieldData constructor
MaterialTextFieldData({
- Key? widgetKey,
- TextEditingController? controller,
- FocusNode? focusNode,
- TextInputType? keyboardType,
- TextInputAction? textInputAction,
- TextCapitalization? textCapitalization,
- TextStyle? style,
- TextAlign? textAlign,
- TextDirection? textDirection,
- bool? autofocus,
- bool? obscureText,
- bool? autocorrect,
- int? maxLines,
- int? maxLength,
- void onChanged()?,
- void onEditingComplete()?,
- void onSubmitted()?,
- List<
TextInputFormatter> ? inputFormatters, - bool? enabled,
- double? cursorWidth,
- Radius? cursorRadius,
- Color? cursorColor,
- Brightness? keyboardAppearance,
- EdgeInsets? scrollPadding,
- bool? enableInteractiveSelection,
- GestureTapCallback? onTap,
- DragStartBehavior? dragStartBehavior,
- bool? expands,
- int? minLines,
- ScrollPhysics? scrollPhysics,
- StrutStyle? strutStyle,
- ScrollController? scrollController,
- bool? readOnly,
- bool? showCursor,
- TextAlignVertical? textAlignVertical,
- bool? enableSuggestions,
- SmartDashesType? smartDashesType,
- SmartQuotesType? smartQuotesType,
- BoxHeightStyle? selectionHeightStyle,
- BoxWidthStyle? selectionWidthStyle,
- String? obscuringCharacter,
- Iterable<
String> ? autofillHints, - double? cursorHeight,
- String? restorationId,
- MaxLengthEnforcement? maxLengthEnforcement,
- TextSelectionControls? selectionControls,
- bool? enableIMEPersonalizedLearning,
- Clip? clipBehavior,
- bool? scribbleEnabled,
- EditableTextContextMenuBuilder? contextMenuBuilder,
- TapRegionCallback? onTapOutside,
- SpellCheckConfiguration? spellCheckConfiguration,
- TextMagnifierConfiguration? magnifierConfiguration,
- ContentInsertionConfiguration? contentInsertionConfiguration,
- bool? cursorOpacityAnimates,
- UndoHistoryController? undoController,
- InputDecoration? decoration,
- InputCounterWidgetBuilder? buildCounter,
- MouseCursor? mouseCursor,
- AppPrivateCommandCallback? onAppPrivateCommand,
- bool? canRequestFocus,
Implementation
MaterialTextFieldData({
super.widgetKey,
super.controller,
super.focusNode,
super.keyboardType,
super.textInputAction,
super.textCapitalization,
super.style,
super.textAlign,
super.textDirection,
super.autofocus,
super.obscureText,
super.autocorrect,
super.maxLines,
super.maxLength,
super.onChanged,
super.onEditingComplete,
super.onSubmitted,
super.inputFormatters,
super.enabled,
super.cursorWidth,
super.cursorRadius,
super.cursorColor,
super.keyboardAppearance,
super.scrollPadding,
super.enableInteractiveSelection,
super.onTap,
super.dragStartBehavior,
super.expands,
super.minLines,
super.scrollPhysics,
super.strutStyle,
super.scrollController,
super.readOnly,
super.showCursor,
super.textAlignVertical,
super.enableSuggestions,
super.smartDashesType,
super.smartQuotesType,
super.selectionHeightStyle,
super.selectionWidthStyle,
super.obscuringCharacter,
super.autofillHints,
super.cursorHeight,
super.restorationId,
super.maxLengthEnforcement,
super.selectionControls,
super.enableIMEPersonalizedLearning,
super.clipBehavior,
super.scribbleEnabled,
super.contextMenuBuilder,
super.onTapOutside,
super.spellCheckConfiguration,
super.magnifierConfiguration,
super.contentInsertionConfiguration,
super.cursorOpacityAnimates,
super.undoController,
this.decoration,
this.buildCounter,
this.mouseCursor,
this.onAppPrivateCommand,
this.canRequestFocus,
});