FastSearchPage<T extends FastItem> constructor
const
FastSearchPage<T extends FastItem> ({
- Key? key,
- required List<
T> items, - String searchPlaceholderText = kFastSearchPlaceholderText,
- String clearSelectionText = kFastClearSelectionText,
- Widget clearSearchIcon = kFastClearSearchIcon,
- String titleText = kFastSelectTitleText,
- Widget closeIcon = kFastCloseIcon,
- Widget backIcon = kFastBackIcon,
- bool canClearSelection = true,
- bool groupByCategory = false,
- int intialCategoryIndex = 0,
- bool useFuzzySearch = false,
- bool sortItems = true,
- String? allCategoryText,
- List<
FastListItemCategory< extraTabBuilder()?,T> > - FastListViewLayoutDelegate<
T> ? delegate, - List<
FastCategory> ? categories, - T? selection,
- Widget? listViewEmptyContent,
- String? listViewEmptyText,
Implementation
const FastSearchPage({
super.key,
required this.items,
this.searchPlaceholderText = kFastSearchPlaceholderText,
this.clearSelectionText = kFastClearSelectionText,
this.clearSearchIcon = kFastClearSearchIcon,
this.titleText = kFastSelectTitleText,
this.closeIcon = kFastCloseIcon,
this.backIcon = kFastBackIcon,
this.canClearSelection = true,
this.groupByCategory = false,
this.intialCategoryIndex = 0,
this.useFuzzySearch = false,
this.sortItems = true,
this.allCategoryText,
this.extraTabBuilder,
this.delegate,
this.categories,
this.selection,
this.listViewEmptyContent,
this.listViewEmptyText,
});