TextFieldCustom constructor
const
TextFieldCustom(
- TextEditingController control,
- FocusNode? focus,
- FocusNode? nextFocus,
- String hintText, {
- bool isPassword = false,
- bool readOnly = false,
- TextInputAction inputAction = TextInputAction.next,
- Widget? suffix,
- Function? onPressIcon,
- TextInputType type = TextInputType.text,
- int? maxLength,
- int maxLine = 1,
- EdgeInsets? padding,
- double? size,
- Color textColor = Colors.black,
- Function? onSubmit,
- Function? onChanged,
- List<
TextInputFormatter> ? inputFormatters, - double sizeBorder = 5.0,
- Key? key,
Implementation
const TextFieldCustom(this.control, this.focus, this.nextFocus, this.hintText,
{this.isPassword = false, this.readOnly = false, this.inputAction = TextInputAction.next,
this.suffix, this.onPressIcon, this.type = TextInputType.text,
this.maxLength, this.maxLine = 1, this.padding, this.size, this.textColor = Colors.black,
this.onSubmit, this.onChanged, this.inputFormatters, this.sizeBorder = 5.0, Key? key}):super(key:key);