GenericTextField constructor
GenericTextField({
- String? label,
- String? hint,
- required FieldTypes fieldTypes,
- TextEditingController? controller,
- EdgeInsets? margin,
- required TextInputType type,
- dynamic onTab()?,
- int? max,
- Color? textColor,
- Color? fillColor,
- Color? hintColor,
- Widget? prefixIcon,
- Widget? suffixIcon,
- dynamic onChange()?,
- dynamic onSubmit()?,
- required TextInputAction action,
- Color? enableBorderColor,
- required dynamic validate(
- String? value
Implementation
GenericTextField(
{ this.label,
this.hint,
required this.fieldTypes,
this.controller,
this.margin,
required this.type,
this.onTab,
this.max,
this.textColor,
this.fillColor,
this.hintColor,
this.prefixIcon,
this.suffixIcon,
this.onChange,
this.onSubmit,
required this.action,
this.enableBorderColor,
required this.validate});