SearchTextField constructor
const
SearchTextField({
- Key? key,
- required TextEditingController controller,
- required String textFieldHint,
- required bool isRequired,
- Function? onTap,
- bool readOnly = false,
- bool enabled = true,
- int linesNumber = 1,
- TextInputType keyboardType = TextInputType.emailAddress,
- bool isWrong = false,
- Color backgroundColor = Colors.white,
- Color borderColor = empty,
- Widget? suffixIcon,
- Widget? prefixIcon,
- String? validator()?,
- bool isPasswordField = false,
- dynamic onChanged()?,
Implementation
const SearchTextField({
super.key,
required this.controller,
required this.textFieldHint,
required this.isRequired,
this.onTap,
this.readOnly = false,
this.enabled = true,
this.linesNumber = 1,
this.keyboardType = TextInputType.emailAddress,
this.isWrong = false,
this.backgroundColor = Colors.white,
this.borderColor = empty,
this.suffixIcon,
this.prefixIcon,
this.validator,
this.isPasswordField = false,
this.onChanged,
});