FastSearchBar<T extends FastItem> constructor
const
FastSearchBar<T extends FastItem> ({
- Key? key,
- required List<
T> items, - String? placeholderText,
- Widget? clearSearchIcon,
- bool shouldUseFuzzySearch = false,
- bool showShowBottomBorder = true,
- Widget? closeIcon,
- Widget? backIcon,
- bool showLeadingIcon = true,
- TextEditingController? textEditingController,
- VoidCallback? onLeadingButtonTap,
- bool onSearchFilter(
- T option,
- String? query
- void onSuggestions()?,
Implementation
const FastSearchBar({
super.key,
required this.items,
this.placeholderText,
this.clearSearchIcon,
this.shouldUseFuzzySearch = false,
this.showShowBottomBorder = true,
this.closeIcon,
this.backIcon,
this.showLeadingIcon = true,
this.textEditingController,
this.onLeadingButtonTap,
this.onSearchFilter,
this.onSuggestions,
});