NavigationPane constructor
NavigationPane({
- Key? key,
- int? selected,
- ValueChanged<
int> ? onChanged, - Widget? header,
- List<
NavigationPaneItem> items = const [], - Widget? autoSuggestBox,
- Widget? autoSuggestBoxReplacement,
- PaneDisplayMode displayMode = PaneDisplayMode.auto,
- ScrollController? scrollController,
- NavigationIndicatorBuilder indicatorBuilder = defaultNavigationIndicator,
Implementation
NavigationPane({
this.key,
this.selected,
this.onChanged,
this.header,
this.items = const [],
this.footerItems = const [],
this.autoSuggestBox,
this.autoSuggestBoxReplacement,
this.displayMode = PaneDisplayMode.auto,
this.menuButton,
this.scrollController,
this.indicatorBuilder = defaultNavigationIndicator,
}) : assert(selected == null || selected >= 0);