BetterTextfield constructor
const
BetterTextfield({
- Key? key,
- required double? height,
- required double? width,
- bool? autocorrect,
- Iterable<
String> ? autofillHints, - bool? autofocus,
- Clip? clipBehavior,
- TextEditingController? controller,
- Color? cursorColor,
- double? cursorHeight,
- Radius? cursorRadius,
- double? cursorWidth,
- InputDecoration? decoration,
- DragStartBehavior? dragStartBehavior,
- bool? enabled,
- bool? enableIMEPersonalizedLearning,
- bool? enableInteractiveSelection,
- bool? enableSuggestions,
- FocusNode? focusNode,
- List<
TextInputFormatter> ? inputFormatters, - Brightness? keyboardAppearance,
- TextInputType? keyboardType,
- int? maxLength,
- MaxLengthEnforcement? maxLengthEnforcement,
- int? minLines,
- MouseCursor? mouseCursor,
- bool? obscureText,
- String? obscuringCharacter,
- InputCounterWidgetBuilder? buildCounter,
- void onAppPrivateCommand()?,
- void onChanged()?,
- void onEditingComplete()?,
- void onSubmitted()?,
- void onTap()?,
- bool? readOnly,
- String? restorationId,
- ScrollController? scrollController,
- EdgeInsets? scrollPadding,
- ScrollPhysics? scrollPhysics,
- TextSelectionControls? selectionControls,
- BoxHeightStyle? selectionHeightStyle,
- BoxWidthStyle? selectionWidthStyle,
- bool? showCursor,
- SmartDashesType? smartDashesType,
- SmartQuotesType? smartQuotesType,
- StrutStyle? strutStyle,
- TextStyle? style,
- TextAlign? textAlign,
- TextCapitalization? textCapitalization,
- TextDirection? textDirection,
- TextInputAction? textInputAction,
- ToolbarOptions? toolbarOptions,
Implementation
const BetterTextfield({
Key? key,
required this.height,
required this.width,
this.autocorrect,
this.autofillHints,
this.autofocus,
this.clipBehavior,
this.controller,
this.cursorColor,
this.cursorHeight,
this.cursorRadius,
this.cursorWidth,
this.decoration,
this.dragStartBehavior,
this.enabled,
this.enableIMEPersonalizedLearning,
this.enableInteractiveSelection,
this.enableSuggestions,
this.focusNode,
this.inputFormatters,
this.keyboardAppearance,
this.keyboardType,
this.maxLength,
this.maxLengthEnforcement,
this.minLines,
this.mouseCursor,
this.obscureText,
this.obscuringCharacter,
this.buildCounter,
this.onAppPrivateCommand,
this.onChanged,
this.onEditingComplete,
this.onSubmitted,
this.onTap,
this.readOnly,
this.restorationId,
this.scrollController,
this.scrollPadding,
this.scrollPhysics,
this.selectionControls,
this.selectionHeightStyle,
this.selectionWidthStyle,
this.showCursor,
this.smartDashesType,
this.smartQuotesType,
this.strutStyle,
this.style,
this.textAlign,
this.textCapitalization,
this.textDirection,
this.textInputAction,
this.toolbarOptions,
}) : super(key: key);