FastSearchPage<T extends FastItem> constructor

const FastSearchPage<T extends FastItem>({
  1. Key? key,
  2. required List<T> items,
  3. String? searchPlaceholderText,
  4. String? clearSelectionText,
  5. Widget? clearSearchIcon,
  6. String? titleText,
  7. bool canClearSelection = true,
  8. bool groupByCategory = false,
  9. int intialCategoryIndex = 0,
  10. bool useFuzzySearch = false,
  11. bool sortItems = true,
  12. String? allCategoryText,
  13. List<FastListItemCategory<T>> extraTabBuilder()?,
  14. FastListViewLayoutDelegate<T>? delegate,
  15. List<FastCategory>? categories,
  16. T? selection,
  17. FastEmptyListBuilder<T>? listViewEmptyContentBuilder,
  18. String? listViewEmptyText,
  19. Widget? closeIcon,
  20. Widget? backIcon,
  21. EdgeInsets? listViewContentPadding,
  22. EdgeInsets? itemContentPadding,
})

Implementation

const FastSearchPage({
  super.key,
  required this.items,
  this.searchPlaceholderText,
  this.clearSelectionText,
  this.clearSearchIcon,
  this.titleText,
  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.listViewEmptyContentBuilder,
  this.listViewEmptyText,
  this.closeIcon,
  this.backIcon,
  this.listViewContentPadding,
  this.itemContentPadding,
});