MaterialTextFormFieldData constructor
MaterialTextFormFieldData({
- Key? widgetKey,
- TextEditingController? controller,
- String? initialValue,
- FocusNode? focusNode,
- TextInputType? keyboardType,
- TextCapitalization? textCapitalization,
- TextInputAction? textInputAction,
- TextStyle? style,
- StrutStyle? strutStyle,
- TextDirection? textDirection,
- TextAlign? textAlign,
- TextAlignVertical? textAlignVertical,
- bool? autofocus,
- bool? readOnly,
- ToolbarOptions? toolbarOptions,
- bool? showCursor,
- String? obscuringCharacter,
- bool? obscureText,
- bool? autocorrect,
- SmartDashesType? smartDashesType,
- SmartQuotesType? smartQuotesType,
- bool? enableSuggestions,
- int? maxLines,
- int? minLines,
- bool? expands,
- int? maxLength,
- ValueChanged<
String> ? onChanged, - GestureTapCallback? onTap,
- VoidCallback? onEditingComplete,
- ValueChanged<
String> ? onFieldSubmitted, - FormFieldSetter<
String> ? onSaved, - FormFieldValidator<
String> ? validator, - List<
TextInputFormatter> ? inputFormatters, - bool? enabled,
- double? cursorWidth,
- double? cursorHeight,
- Radius? cursorRadius,
- Color? cursorColor,
- Brightness? keyboardAppearance,
- EdgeInsets? scrollPadding,
- bool? enableInteractiveSelection,
- TextSelectionControls? selectionControls,
- ScrollPhysics? scrollPhysics,
- Iterable<
String> ? autofillHints, - AutovalidateMode? autovalidateMode,
- InputDecoration? decoration,
- MaxLengthEnforcement? maxLengthEnforcement,
- InputCounterWidgetBuilder? buildCounter,
- ScrollController? scrollController,
- bool? enableIMEPersonalizedLearning,
- String? restorationId,
- MouseCursor? mouseCursor,
Implementation
MaterialTextFormFieldData({
super.widgetKey,
super.controller,
super.initialValue,
super.focusNode,
super.keyboardType,
super.textCapitalization,
super.textInputAction,
super.style,
super.strutStyle,
super.textDirection,
super.textAlign,
super.textAlignVertical,
super.autofocus,
super.readOnly,
super.toolbarOptions,
super.showCursor,
super.obscuringCharacter,
super.obscureText,
super.autocorrect,
super.smartDashesType,
super.smartQuotesType,
super.enableSuggestions,
super.maxLines,
super.minLines,
super.expands,
super.maxLength,
super.onChanged,
super.onTap,
super.onEditingComplete,
super.onFieldSubmitted,
super.onSaved,
super.validator,
super.inputFormatters,
super.enabled,
super.cursorWidth,
super.cursorHeight,
super.cursorRadius,
super.cursorColor,
super.keyboardAppearance,
super.scrollPadding,
super.enableInteractiveSelection,
super.selectionControls,
super.scrollPhysics,
super.autofillHints,
super.autovalidateMode,
this.decoration,
this.maxLengthEnforcement,
this.buildCounter,
this.scrollController,
this.enableIMEPersonalizedLearning,
this.restorationId,
this.mouseCursor,
});