NavigationSidebar constructor
const
NavigationSidebar({
- Key? key,
- required List<
SidebarDestination> destinations, - required int selectedIndex,
- required bool expanded,
- required ValueChanged<
int> onSelected, - VoidCallback? onToggle,
- Size windowControls = Size.zero,
Implementation
const NavigationSidebar({
super.key,
required this.destinations,
required this.selectedIndex,
required this.expanded,
required this.onSelected,
this.onToggle,
this.windowControls = Size.zero,
});