ResponsiveNavigation constructor

const ResponsiveNavigation({
  1. Key? key,
  2. required List<NavDestination> destinations,
  3. required int selectedIndex,
  4. required ValueChanged<int> onChanged,
  5. required Widget body,
  6. BottomNavBuilder? bottomNavBuilder,
  7. Widget? sidebarFooter,
  8. Widget? sidebarHeader,
  9. bool showLabels = true,
  10. double drawerWidth = 280.0,
  11. bool railExtended = false,
  12. Color? backgroundColor,
  13. Color? selectedColor,
  14. Color? unselectedColor,
  15. double elevation = 0.0,
  16. ScreenType railBreakpoint = ScreenType.mobile,
  17. ScreenType sidebarBreakpoint = ScreenType.smallDesktop,
})

Implementation

const ResponsiveNavigation({
  super.key,
  required this.destinations,
  required this.selectedIndex,
  required this.onChanged,
  required this.body,
  this.bottomNavBuilder,
  this.sidebarFooter,
  this.sidebarHeader,
  this.showLabels = true,
  this.drawerWidth = 280.0,
  this.railExtended = false,
  this.backgroundColor,
  this.selectedColor,
  this.unselectedColor,
  this.elevation = 0.0,
  this.railBreakpoint = ScreenType.mobile,
  this.sidebarBreakpoint = ScreenType.smallDesktop,
});