FastSearchableListView<T extends FastItem> constructor

FastSearchableListView<T extends FastItem>({
  1. Key? key,
  2. required List<T> items,
  3. ValueChanged<T>? onSelectionChanged,
  4. String searchPlaceholderText = kFastSearchPlaceholderText,
  5. Icon clearSearchIcon = kFastClearSearchIcon,
  6. bool shouldUseFuzzySearch = false,
  7. EdgeInsets padding = EdgeInsets.zero,
  8. int intialCategoryIndex = 0,
  9. bool groupByCategory = false,
  10. bool isViewScrollable = true,
  11. bool showItemDivider = false,
  12. bool showSearchBar = true,
  13. bool sortItems = true,
  14. bool isEnabled = true,
  15. bool showTrailing = true,
  16. bool showLeading = true,
  17. EdgeInsets? itemContentPadding,
  18. FastListItemBuilder<T>? listItemBuilder,
  19. String? allCategoryText,
})

Implementation

FastSearchableListView({
  Key? key,
  required this.items,
  this.onSelectionChanged,
  this.searchPlaceholderText = kFastSearchPlaceholderText,
  this.clearSearchIcon = kFastClearSearchIcon,
  this.shouldUseFuzzySearch = false,
  this.padding = EdgeInsets.zero,
  this.intialCategoryIndex = 0,
  this.groupByCategory = false,
  this.isViewScrollable = true,
  this.showItemDivider = false,
  this.showSearchBar = true,
  this.sortItems = true,
  this.isEnabled = true,
  this.showTrailing = true,
  this.showLeading = true,
  this.itemContentPadding,
  this.listItemBuilder,
  this.allCategoryText,
}) : super(key: key);