MaterialTextFormFieldData constructor

MaterialTextFormFieldData({
  1. Key? widgetKey,
  2. TextEditingController? controller,
  3. String? initialValue,
  4. FocusNode? focusNode,
  5. TextInputType? keyboardType,
  6. TextCapitalization? textCapitalization,
  7. TextInputAction? textInputAction,
  8. TextStyle? style,
  9. StrutStyle? strutStyle,
  10. TextDirection? textDirection,
  11. TextAlign? textAlign,
  12. TextAlignVertical? textAlignVertical,
  13. bool? autofocus,
  14. bool? readOnly,
  15. bool? showCursor,
  16. String? obscuringCharacter,
  17. bool? obscureText,
  18. bool? autocorrect,
  19. SmartDashesType? smartDashesType,
  20. SmartQuotesType? smartQuotesType,
  21. bool? enableSuggestions,
  22. int? maxLines,
  23. int? minLines,
  24. bool? expands,
  25. int? maxLength,
  26. ValueChanged<String>? onChanged,
  27. GestureTapCallback? onTap,
  28. VoidCallback? onEditingComplete,
  29. ValueChanged<String>? onFieldSubmitted,
  30. FormFieldSetter<String>? onSaved,
  31. FormFieldValidator<String>? validator,
  32. List<TextInputFormatter>? inputFormatters,
  33. bool? enabled,
  34. double? cursorWidth,
  35. double? cursorHeight,
  36. Radius? cursorRadius,
  37. Color? cursorColor,
  38. Brightness? keyboardAppearance,
  39. EdgeInsets? scrollPadding,
  40. bool? enableInteractiveSelection,
  41. TextSelectionControls? selectionControls,
  42. ScrollPhysics? scrollPhysics,
  43. Iterable<String>? autofillHints,
  44. AutovalidateMode? autovalidateMode,
  45. EditableTextContextMenuBuilder? contextMenuBuilder,
  46. InputDecoration? decoration,
  47. MaxLengthEnforcement? maxLengthEnforcement,
  48. InputCounterWidgetBuilder? buildCounter,
  49. ScrollController? scrollController,
  50. bool? enableIMEPersonalizedLearning,
  51. String? restorationId,
  52. MouseCursor? mouseCursor,
  53. TapRegionCallback? onTapOutside,
  54. TextMagnifierConfiguration? magnifierConfiguration,
  55. SpellCheckConfiguration? spellCheckConfiguration,
  56. bool? canRequestFocus,
  57. Clip? clipBehavior,
  58. ContentInsertionConfiguration? contentInsertionConfiguration,
  59. bool? cursorOpacityAnimates,
  60. DragStartBehavior? dragStartBehavior,
  61. AppPrivateCommandCallback? onAppPrivateCommand,
  62. bool? scribbleEnabled,
  63. BoxHeightStyle? selectionHeightStyle,
  64. BoxWidthStyle? selectionWidthStyle,
  65. UndoHistoryController? undoController,
})

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.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,
  super.contextMenuBuilder,
  this.decoration,
  this.maxLengthEnforcement,
  this.buildCounter,
  this.scrollController,
  this.enableIMEPersonalizedLearning,
  this.restorationId,
  this.mouseCursor,
  this.onTapOutside,
  this.magnifierConfiguration,
  this.spellCheckConfiguration,
  this.canRequestFocus,
  this.clipBehavior,
  this.contentInsertionConfiguration,
  this.cursorOpacityAnimates,
  this.dragStartBehavior,
  this.onAppPrivateCommand,
  this.scribbleEnabled,
  this.selectionHeightStyle,
  this.selectionWidthStyle,
  this.undoController,
});