SearchBarWidget<T> constructor

const SearchBarWidget<T>({
  1. Key? key,
  2. required TextEditingController controller,
  3. required FocusNode focusNode,
  4. required VoidCallback clear,
  5. required ValueChanged<String> onChanged,
  6. Widget searchBarBuilder(
    1. BuildContext,
    2. TextEditingController,
    3. VoidCallback ,
    4. ValueChanged<String> ,
    )?,
})

Implementation

const SearchBarWidget({
  super.key,
  required this.controller,
  required this.focusNode,
  required this.clear,
  required this.onChanged,
  this.searchBarBuilder,
});