FastSelectableListView<T extends FastItem> constructor
FastSelectableListView<T extends FastItem> ({
- Key? key,
- required ValueChanged<
T> onSelectionChanged, - required List<
T> items, - String searchPlaceholderText = kFastSearchPlaceholderText,
- Icon clearSearchIcon = kFastClearSearchIcon,
- bool shouldUseFuzzySearch = false,
- bool showSearchBar = false,
- EdgeInsets padding = EdgeInsets.zero,
- bool groupByCategory = false,
- bool isViewScrollable = true,
- bool showItemDivider = false,
- int intialCategoryIndex = 0,
- bool sortItems = true,
- bool isEnabled = true,
- Color? selectionTralingColor,
- Color? selectionLabelColor,
- EdgeInsets? itemContentPadding,
- String? allCategoryText,
- FastListItemBuilder<
T> ? listItemBuilder, - Color? selectionColor,
- List<
FastCategory> ? categories, - T? selection,
Implementation
FastSelectableListView({
Key? key,
required this.onSelectionChanged,
required this.items,
this.searchPlaceholderText = kFastSearchPlaceholderText,
this.clearSearchIcon = kFastClearSearchIcon,
this.shouldUseFuzzySearch = false,
this.showSearchBar = false,
this.padding = EdgeInsets.zero,
this.groupByCategory = false,
this.isViewScrollable = true,
this.showItemDivider = false,
this.intialCategoryIndex = 0,
this.sortItems = true,
this.isEnabled = true,
this.selectionTralingColor,
this.selectionLabelColor,
this.itemContentPadding,
this.allCategoryText,
this.listItemBuilder,
this.selectionColor,
this.categories,
this.selection,
}) : super(key: key);