FastSearchableListView<T extends FastItem> constructor
FastSearchableListView<T extends FastItem> ({
- Key? key,
- required List<
T> items, - ValueChanged<
T> ? onSelectionChanged, - String searchPlaceholderText = kFastSearchPlaceholderText,
- Icon 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,
- EdgeInsets? itemContentPadding,
- FastListItemBuilder<
T> ? listItemBuilder, - 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);