MaterialTextFieldData constructor Null safety

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(
      )?,
    1. void onSubmitted(
      1. String
      )?,
    2. List<TextInputFormatter>? inputFormatters,
    3. bool? enabled,
    4. double? cursorWidth,
    5. Radius? cursorRadius,
    6. Color? cursorColor,
    7. Brightness? keyboardAppearance,
    8. EdgeInsets? scrollPadding,
    9. bool? enableInteractiveSelection,
    10. GestureTapCallback? onTap,
    11. DragStartBehavior? dragStartBehavior,
    12. bool? expands,
    13. int? minLines,
    14. ScrollPhysics? scrollPhysics,
    15. StrutStyle? strutStyle,
    16. ScrollController? scrollController,
    17. bool? readOnly,
    18. bool? showCursor,
    19. TextAlignVertical? textAlignVertical,
    20. ToolbarOptions? toolbarOptions,
    21. bool? enableSuggestions,
    22. SmartDashesType? smartDashesType,
    23. SmartQuotesType? smartQuotesType,
    24. BoxHeightStyle? selectionHeightStyle,
    25. BoxWidthStyle? selectionWidthStyle,
    26. String? obscuringCharacter,
    27. Iterable<String>? autofillHints,
    28. double? cursorHeight,
    29. String? restorationId,
    30. MaxLengthEnforcement? maxLengthEnforcement,
    31. TextSelectionControls? selectionControls,
    32. bool? enableIMEPersonalizedLearning,
    33. Clip? clipBehavior,
    34. bool? scribbleEnabled,
    35. InputDecoration? decoration,
    36. InputCounterWidgetBuilder? buildCounter,
    37. MouseCursor? mouseCursor,
    38. 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,
    });