NavigationSidebar constructor

const NavigationSidebar({
  1. Key? key,
  2. required List<SidebarDestination> destinations,
  3. required int selectedIndex,
  4. required bool expanded,
  5. required ValueChanged<int> onSelected,
  6. VoidCallback? onToggle,
  7. 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,
});