FastSearchPage<T extends FastItem> constructor

FastSearchPage<T extends FastItem>({
  1. required List<T> items,
  2. String searchPlaceholderText = kFastSearchPlaceholderText,
  3. String clearSelectionText = kFastClearSelectionText,
  4. Widget clearSearchIcon = kFastClearSearchIcon,
  5. String titleText = kFastSelectTitleText,
  6. Widget closeIcon = kFastCloseIcon,
  7. Widget backIcon = kFastBackIcon,
  8. bool canClearSelection = true,
  9. bool groupByCategory = false,
  10. int intialCategoryIndex = 0,
  11. bool useFuzzySearch = false,
  12. bool sortItems = true,
  13. String? allCategoryText,
  14. List<FastCategory>? categories,
  15. T? selection,
})

Implementation

FastSearchPage({
  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.categories,
  this.selection,
}) : super();