TextFieldCustom constructor
const
TextFieldCustom(
- TextEditingController control,
- FocusNode? focus,
- FocusNode? nextFocus,
- String hintText, {
- bool isPassword = false,
- bool readOnly = false,
- TextInputAction inputAction = TextInputAction.next,
- double? iconSize,
- Widget? suffix,
- void onPressIcon()?,
- TextInputType type = TextInputType.text,
- dynamic border,
- Color? borderColor,
- BoxConstraints? constraint,
- int? maxLength,
- int maxLine = 1,
- EdgeInsets? padding,
- double? size,
- Color textColor = Colors.black,
- EdgeInsets? paddingIcon,
- Function? onSubmit,
- Function? onChanged,
- List<
TextInputFormatter> ? inputFormatters, - double sizeBorder = 5.0,
- Color color = Colors.white,
- TextAlign align = TextAlign.left,
- bool? isOdd,
- int odd = 3,
- Widget? prefix,
- void onPressPrefixIcon()?,
- bool? showCounter,
- void onTap()?,
- int hintMaxLine = 1,
- Key? key,
Implementation
const TextFieldCustom(this.control, this.focus, this.nextFocus, this.hintText, {
this.isPassword = false, this.readOnly = false, this.inputAction = TextInputAction.next, this.iconSize,
this.suffix, this.onPressIcon, this.type = TextInputType.text, this.border, this.borderColor, this.constraint,
this.maxLength, this.maxLine = 1, this.padding, this.size, this.textColor = Colors.black, this.paddingIcon,
this.onSubmit, this.onChanged, this.inputFormatters, this.sizeBorder = 5.0, this.color = Colors.white,
this.align = TextAlign.left, this.isOdd, this.odd = 3, this.prefix, this.onPressPrefixIcon, this.showCounter,
this.onTap, this.hintMaxLine = 1, Key? key}) :super(key: key);