FastNavigationListView<T extends FastItem> constructor
FastNavigationListView<T extends FastItem> ({
- Key? key,
- required ValueChanged<
T> onSelectionChanged, - required List<
T> items, - String searchPlaceholderText = kFastSearchPlaceholderText,
- Icon 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,
Implementation
FastNavigationListView({
Key? 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,
}) : super(key: key);