SearchBarWidget constructor
const
SearchBarWidget({
- Key? key,
- required TextEditingController controller,
- required String hintText,
- TextInputType? textInputType,
- int? maxLength,
- required dynamic onChanged(),
- String? validator()?,
- Widget? prefixIcon,
- Widget? suffixIcon,
- FocusNode? focusNode,
- EdgeInsetsGeometry? contentPadding,
- Color? fillColor,
- Color? borderColor,
- Color? hintTextColor,
- double? height,
Implementation
const SearchBarWidget({
super.key,
required this.controller,
required this.hintText,
this.textInputType,
this.maxLength,
required this.onChanged,
this.validator,
this.prefixIcon,
this.suffixIcon,
this.focusNode,
this.contentPadding,
this.fillColor,
this.borderColor,
this.hintTextColor,
this.height,
});