SearchTextField constructor
const
SearchTextField({
- required TextEditingController controller,
- required String hintText,
- TextInputType inputType = TextInputType.text,
- int maxLength = TextField.noMaxLength,
- dynamic suffixIcon,
- String prefixIcon = "",
- required void onTapClear(),
- required void onChanged(
- String text
- Key? key,
Implementation
const SearchTextField({
required this.controller,
required this.hintText,
this.inputType = TextInputType.text,
this.maxLength = TextField.noMaxLength,
this.suffixIcon,
this.prefixIcon = "",
required this.onTapClear,
required this.onChanged,
super.key
});