SearchBarWidget constructor

const SearchBarWidget({
  1. Key? key,
  2. required TextEditingController controller,
  3. required String hintText,
  4. TextInputType? textInputType,
  5. int? maxLength,
  6. required dynamic onChanged(
    1. String
    ),
  7. String? validator(
    1. String?
    )?,
  8. Widget? prefixIcon,
  9. Widget? suffixIcon,
  10. FocusNode? focusNode,
  11. EdgeInsetsGeometry? contentPadding,
  12. Color? fillColor,
  13. Color? borderColor,
  14. Color? hintTextColor,
  15. 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,
});