TextFieldWithDelete constructor
const
TextFieldWithDelete({
- Key? key,
- FocusNode? focusNode,
- required TextEditingController controller,
- bool obscureText = false,
- bool error = false,
- String? errorMessage,
- double fontSize = 14,
- FontWeight fontWeight = FontWeight.normal,
- TextInputAction? textInputAction,
- double deleteRightPadding = 0,
- double errorMessageMarginTop = 0,
- bool hideUnderline = false,
- bool enabled = true,
- List<
TextInputFormatter> ? inputFormatters, - String? texthint,
- TextInputType? keyboardType,
- VoidCallback? onEditingComplete,
- dynamic validatorCallback(
- String? errorMessage
- Widget? leftImage,
- dynamic onTapDelete()?,
- int? showMaxCount,
- bool? autofocus,
Implementation
const TextFieldWithDelete(
{Key? key,
this.focusNode,
required this.controller,
this.obscureText = false,
this.error = false,
this.errorMessage,
this.fontSize = 14,
this.fontWeight = FontWeight.normal,
this.textInputAction,
this.deleteRightPadding = 0,
this.errorMessageMarginTop = 0,
this.hideUnderline = false,
this.enabled = true,
this.inputFormatters,
this.texthint,
this.keyboardType,
this.onEditingComplete,
this.validatorCallback,
this.leftImage,
this.onTapDelete,
this.showMaxCount,
this.autofocus})
: super(key: key);