SundayCupertinoTextField constructor
const
SundayCupertinoTextField({
- Key? key,
- String? placeholder,
- TextEditingController? controller,
- ValueChanged<
String> ? onChanged, - TextInputType? keyboardType,
- bool obscureText = false,
- BoxDecoration? decoration,
- required Style style,
- TextStyle? textFieldstyle,
- bool? autocorrect,
- Iterable<
String> ? autofillHints, - bool? autofocus,
- OverlayVisibilityMode? clearButtonMode,
- String? clearButtonSemanticLabel,
- Clip? clipBehavior,
- ContentInsertionConfiguration? contentInsertionConfiguration,
- EditableTextContextMenuBuilder? contextMenuBuilder,
- Color? cursorColor,
- double? cursorHeight,
- bool? cursorOpacityAnimates,
- Radius? cursorRadius,
- double? cursorWidth,
- DragStartBehavior? dragStartBehavior,
- bool? enabled,
- bool? enableIMEPersonalizedLearning,
- bool? enableInteractiveSelection,
- bool? enableSuggestions,
- bool? expands,
- FocusNode? focusNode,
- Object? groupId,
- List<
TextInputFormatter> ? inputFormatters, - Brightness? keyboardAppearance,
- TextMagnifierConfiguration? magnifierConfiguration,
- int? maxLength,
- MaxLengthEnforcement? maxLengthEnforcement,
- int? maxLines,
- int? minLines,
- String? obscuringCharacter,
- VoidCallback? onEditingComplete,
- ValueChanged<
String> ? onSubmitted, - GestureTapCallback? onTap,
- TapRegionCallback? onTapOutside,
- EdgeInsetsGeometry? padding,
- TextStyle? placeholderStyle,
- Widget? prefix,
- OverlayVisibilityMode? prefixMode,
- bool? readOnly,
- String? restorationId,
- bool? scribbleEnabled,
- ScrollController? scrollController,
- EdgeInsets? scrollPadding,
- ScrollPhysics? scrollPhysics,
- TextSelectionControls? selectionControls,
- BoxHeightStyle? selectionHeightStyle,
- BoxWidthStyle? selectionWidthStyle,
- bool? showCursor,
- SmartDashesType? smartDashesType,
- SmartQuotesType? smartQuotesType,
- SpellCheckConfiguration? spellCheckConfiguration,
- StrutStyle? strutStyle,
- Widget? suffix,
- OverlayVisibilityMode? suffixMode,
- TextAlign? textAlign,
- TextAlignVertical? textAlignVertical,
- TextCapitalization? textCapitalization,
- TextDirection? textDirection,
- TextInputAction? textInputAction,
- UndoHistoryController? undoController,
- ValueChanged<
bool> ? onFocusChange, - 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,
});