TextFieldCustom constructor

const TextFieldCustom(
  1. TextEditingController control,
  2. FocusNode? focus,
  3. FocusNode? nextFocus,
  4. String hintText, {
  5. bool isPassword = false,
  6. bool readOnly = false,
  7. TextInputAction inputAction = TextInputAction.next,
  8. Widget? suffix,
  9. Function? onPressIcon,
  10. TextInputType type = TextInputType.text,
  11. int? maxLength,
  12. int maxLine = 1,
  13. EdgeInsets? padding,
  14. double? size,
  15. Color textColor = Colors.black,
  16. Function? onSubmit,
  17. Function? onChanged,
  18. List<TextInputFormatter>? inputFormatters,
  19. double sizeBorder = 5.0,
  20. 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);