MaterialTextFieldData constructor

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