NavigationSidebar<T> constructor
const
NavigationSidebar<T> ({
- Key? key,
- List<
NavSection< ? sections,T> > - NavNodeId? active,
- Set<
NavNodeId> ? initiallyExpanded, - NavigationSidebarController<
T> ? controller, - NavSidebarMode mode = NavSidebarMode.expanded,
- NavSidebarSlotBuilder? header,
- String drawerTitle = 'Navigation',
- bool showGuides = true,
- bool railFlyouts = true,
Implementation
const NavigationSidebar({
super.key,
this.sections,
this.active,
this.initiallyExpanded,
this.controller,
this.mode = NavSidebarMode.expanded,
this.header,
this.footer,
this.drawerTitle = 'Navigation',
this.showGuides = true,
this.railFlyouts = true,
this.onNavigate,
}) : assert(sections != null || controller != null, 'Provide sections or a controller.');