InputTextFiled constructor
const
InputTextFiled({
- Key? key,
- TextEditingController? controller,
- String? textFieldHint,
- bool isRequired = false,
- Function? onTap,
- bool readOnly = false,
- bool enabled = true,
- int linesNumber = 1,
- TextInputType keyboardType = TextInputType.emailAddress,
- bool isWrong = false,
- Color backgroundColor = Colors.white,
- Color borderColor = borderColors,
- Widget? suffixIcon,
- Widget? prefixIcon,
- String? validator()?,
- bool isPasswordField = false,
- dynamic onChanged()?,
- InputBorder? border,
- Iterable<
String> ? autofillHints, - double padding = 10,
Implementation
const InputTextFiled({
super.key,
this.controller,
this.textFieldHint,
this.isRequired = false,
this.onTap,
this.readOnly = false,
this.enabled = true,
this.linesNumber = 1,
this.keyboardType = TextInputType.emailAddress,
this.isWrong = false,
this.backgroundColor = Colors.white,
this.borderColor = borderColors,
this.suffixIcon,
this.prefixIcon,
this.validator,
this.isPasswordField = false,
this.onChanged,
this.border,
this.autofillHints,
this.padding = 10,
});