NavigationScreen constructor

const NavigationScreen({
  1. required List<NavigationDestination> destinations,
  2. int initialIndex = 0,
  3. void onNavigationChanged(
    1. int index
    )?,
  4. NavigationMode mode = NavigationMode.auto,
  5. double breakpoint = 768,
  6. Component? sidebarHeader,
  7. Component? sidebarFooter,
  8. bool sidebarCollapsible = true,
  9. bool sidebarCollapsed = false,
  10. Key? key,
})

Implementation

const NavigationScreen({
  required this.destinations,
  this.initialIndex = 0,
  this.onNavigationChanged,
  this.mode = NavigationMode.auto,
  this.breakpoint = 768,
  this.sidebarHeader,
  this.sidebarFooter,
  this.sidebarCollapsible = true,
  this.sidebarCollapsed = false,
  super.key,
});