FastNavigationListView<T extends FastItem> constructor
const
FastNavigationListView<T extends FastItem> ({
- Key? key,
- required ValueChanged<
T> onSelectionChanged, - required List<
T> items, - String searchPlaceholderText = kFastSearchPlaceholderText,
- Widget clearSearchIcon = kFastClearSearchIcon,
- bool shouldUseFuzzySearch = false,
- EdgeInsets padding = EdgeInsets.zero,
- bool isViewScrollable = true,
- bool showItemDivider = false,
- bool showSearchBar = false,
- bool sortItems = true,
- bool isEnabled = true,
- bool showTrailing = true,
- bool showLeading = true,
- EdgeInsets? itemContentPadding,
- FastListItemBuilder<
T> ? listItemBuilder, - Widget? emptyContent,
- String? emptyText,
Implementation
const FastNavigationListView({
super.key,
required this.onSelectionChanged,
required this.items,
this.searchPlaceholderText = kFastSearchPlaceholderText,
this.clearSearchIcon = kFastClearSearchIcon,
this.shouldUseFuzzySearch = false,
this.padding = EdgeInsets.zero,
this.isViewScrollable = true,
this.showItemDivider = false,
this.showSearchBar = false,
this.sortItems = true,
this.isEnabled = true,
this.showTrailing = true,
this.showLeading = true,
this.itemContentPadding,
this.listItemBuilder,
this.emptyContent,
this.emptyText,
});