SearchWithDel constructor

const SearchWithDel({
  1. Key? key,
  2. TextEditingController? controller,
  3. dynamic onDeleteClick()?,
  4. String? hintText,
  5. dynamic onSearchClick(
    1. String
    )?,
  6. bool searchWhenTextChanged = true,
  7. Color? bgColor,
})

Implementation

const SearchWithDel({
  super.key,
  this.controller,
  this.onDeleteClick,
  this.hintText,
  this.onSearchClick,
  this.searchWhenTextChanged = true,
  this.bgColor,
});