FastSearchableListView<T extends FastItem> constructor
const
FastSearchableListView<T extends FastItem> ({
- Key? key,
- required List<
T> items, - ValueChanged<
T> ? onSelectionChanged, - String searchPlaceholderText = kFastSearchPlaceholderText,
- Widget clearSearchIcon = kFastClearSearchIcon,
- bool shouldUseFuzzySearch = false,
- EdgeInsets padding = EdgeInsets.zero,
- int intialCategoryIndex = 0,
- bool groupByCategory = false,
- bool isViewScrollable = true,
- bool showItemDivider = false,
- bool showSearchBar = true,
- bool sortItems = true,
- bool isEnabled = true,
- bool showTrailing = true,
- bool showLeading = true,
- List<
FastListItemCategory< extraTabBuilder()?,T> > - EdgeInsets? itemContentPadding,
- FastListItemBuilder<
T> ? listItemBuilder, - String? allCategoryText,
- FastListViewLayoutDelegate<
T> ? delegate, - Widget? emptyContent,
- String? emptyText,
Implementation
const FastSearchableListView({
super.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.extraTabBuilder,
this.itemContentPadding,
this.listItemBuilder,
this.allCategoryText,
this.delegate,
this.emptyContent,
this.emptyText,
});