SundayCupertinoTextField constructor

const SundayCupertinoTextField({
  1. Key? key,
  2. String? placeholder,
  3. TextEditingController? controller,
  4. ValueChanged<String>? onChanged,
  5. TextInputType? keyboardType,
  6. bool obscureText = false,
  7. BoxDecoration? decoration,
  8. required Style style,
  9. TextStyle? textFieldstyle,
  10. bool? autocorrect,
  11. Iterable<String>? autofillHints,
  12. bool? autofocus,
  13. OverlayVisibilityMode? clearButtonMode,
  14. String? clearButtonSemanticLabel,
  15. Clip? clipBehavior,
  16. ContentInsertionConfiguration? contentInsertionConfiguration,
  17. EditableTextContextMenuBuilder? contextMenuBuilder,
  18. Color? cursorColor,
  19. double? cursorHeight,
  20. bool? cursorOpacityAnimates,
  21. Radius? cursorRadius,
  22. double? cursorWidth,
  23. DragStartBehavior? dragStartBehavior,
  24. bool? enabled,
  25. bool? enableIMEPersonalizedLearning,
  26. bool? enableInteractiveSelection,
  27. bool? enableSuggestions,
  28. bool? expands,
  29. FocusNode? focusNode,
  30. Object? groupId,
  31. List<TextInputFormatter>? inputFormatters,
  32. Brightness? keyboardAppearance,
  33. TextMagnifierConfiguration? magnifierConfiguration,
  34. int? maxLength,
  35. MaxLengthEnforcement? maxLengthEnforcement,
  36. int? maxLines,
  37. int? minLines,
  38. String? obscuringCharacter,
  39. VoidCallback? onEditingComplete,
  40. ValueChanged<String>? onSubmitted,
  41. GestureTapCallback? onTap,
  42. TapRegionCallback? onTapOutside,
  43. EdgeInsetsGeometry? padding,
  44. TextStyle? placeholderStyle,
  45. Widget? prefix,
  46. OverlayVisibilityMode? prefixMode,
  47. bool? readOnly,
  48. String? restorationId,
  49. bool? scribbleEnabled,
  50. ScrollController? scrollController,
  51. EdgeInsets? scrollPadding,
  52. ScrollPhysics? scrollPhysics,
  53. TextSelectionControls? selectionControls,
  54. BoxHeightStyle? selectionHeightStyle,
  55. BoxWidthStyle? selectionWidthStyle,
  56. bool? showCursor,
  57. SmartDashesType? smartDashesType,
  58. SmartQuotesType? smartQuotesType,
  59. SpellCheckConfiguration? spellCheckConfiguration,
  60. StrutStyle? strutStyle,
  61. Widget? suffix,
  62. OverlayVisibilityMode? suffixMode,
  63. TextAlign? textAlign,
  64. TextAlignVertical? textAlignVertical,
  65. TextCapitalization? textCapitalization,
  66. TextDirection? textDirection,
  67. TextInputAction? textInputAction,
  68. UndoHistoryController? undoController,
  69. ValueChanged<bool>? onFocusChange,
  70. bool showClearButton = false,
})

Constructs a SundayCupertinoTextField with the given properties.

Implementation

const SundayCupertinoTextField({
  super.key,
  this.placeholder,
  this.controller,
  this.onChanged,
  this.keyboardType,
  this.obscureText = false,
  this.decoration,
  required this.style,
  this.textFieldstyle,
  this.autocorrect,
  this.autofillHints,
  this.autofocus,
  this.clearButtonMode,
  this.clearButtonSemanticLabel,
  this.clipBehavior,
  this.contentInsertionConfiguration,
  this.contextMenuBuilder,
  this.cursorColor,
  this.cursorHeight,
  this.cursorOpacityAnimates,
  this.cursorRadius,
  this.cursorWidth,
  this.dragStartBehavior,
  this.enabled,
  this.enableIMEPersonalizedLearning,
  this.enableInteractiveSelection,
  this.enableSuggestions,
  this.expands,
  this.focusNode,
  this.groupId,
  this.inputFormatters,
  this.keyboardAppearance,
  this.magnifierConfiguration,
  this.maxLength,
  this.maxLengthEnforcement,
  this.maxLines,
  this.minLines,
  this.obscuringCharacter,
  this.onEditingComplete,
  this.onSubmitted,
  this.onTap,
  this.onTapOutside,
  this.padding,
  this.placeholderStyle,
  this.prefix,
  this.prefixMode,
  this.readOnly,
  this.restorationId,
  this.scribbleEnabled,
  this.scrollController,
  this.scrollPadding,
  this.scrollPhysics,
  this.selectionControls,
  this.selectionHeightStyle,
  this.selectionWidthStyle,
  this.showCursor,
  this.smartDashesType,
  this.smartQuotesType,
  this.spellCheckConfiguration,
  this.strutStyle,
  this.suffix,
  this.suffixMode,
  this.textAlign,
  this.textAlignVertical,
  this.textCapitalization,
  this.textDirection,
  this.textInputAction,
  this.undoController,
  this.onFocusChange,
  this.showClearButton = false,
});