FastSearchPage<T extends FastItem> constructor

const FastSearchPage<T extends FastItem>({
  1. Key? key,
  2. required List<T> items,
  3. String searchPlaceholderText = kFastSearchPlaceholderText,
  4. String clearSelectionText = kFastClearSelectionText,
  5. Widget clearSearchIcon = kFastClearSearchIcon,
  6. String titleText = kFastSelectTitleText,
  7. Widget closeIcon = kFastCloseIcon,
  8. Widget backIcon = kFastBackIcon,
  9. bool canClearSelection = true,
  10. bool groupByCategory = false,
  11. int intialCategoryIndex = 0,
  12. bool useFuzzySearch = false,
  13. bool sortItems = true,
  14. String? allCategoryText,
  15. List<FastListItemCategory<T>> extraTabBuilder()?,
  16. FastListViewLayoutDelegate<T>? delegate,
  17. List<FastCategory>? categories,
  18. T? selection,
  19. Widget? listViewEmptyContent,
  20. 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,
});