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. ToolbarOptions? toolbarOptions,
  37. bool? enableSuggestions,
  38. SmartDashesType? smartDashesType,
  39. SmartQuotesType? smartQuotesType,
  40. BoxHeightStyle? selectionHeightStyle,
  41. BoxWidthStyle? selectionWidthStyle,
  42. String? obscuringCharacter,
  43. Iterable<String>? autofillHints,
  44. double? cursorHeight,
  45. String? restorationId,
  46. MaxLengthEnforcement? maxLengthEnforcement,
  47. TextSelectionControls? selectionControls,
  48. bool? enableIMEPersonalizedLearning,
  49. Clip? clipBehavior,
  50. bool? scribbleEnabled,
  51. InputDecoration? decoration,
  52. InputCounterWidgetBuilder? buildCounter,
  53. MouseCursor? mouseCursor,
  54. AppPrivateCommandCallback? onAppPrivateCommand,
})

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.toolbarOptions,
  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,
  this.decoration,
  this.buildCounter,
  this.mouseCursor,
  this.onAppPrivateCommand,
});