CLAdaptiveShell constructor

const CLAdaptiveShell({
  1. Key? key,
  2. required List<CLDestination> destinations,
  3. required String? selectedKey,
  4. required ValueChanged<CLDestination> onSelect,
  5. required Widget header,
  6. required Widget body,
  7. Widget? headerLeading,
  8. Widget? navHeader,
  9. Widget? navSecondary,
  10. Widget? navFooter,
  11. Widget? trailing,
  12. Widget? endDrawer,
  13. CLShellConfig config = const CLShellConfig(),
  14. ShellSlotsController? slotsController,
  15. Widget? railHeader,
  16. Widget? railSecondary,
  17. Widget? railFooter,
  18. List<CLDestination>? bottomDestinations,
  19. List<CLBottomBarItem>? bottomBarItems,
})

Implementation

const CLAdaptiveShell({
  super.key,
  required this.destinations,
  required this.selectedKey,
  required this.onSelect,
  required this.header,
  required this.body,
  this.headerLeading,
  this.navHeader,
  this.navSecondary,
  this.navFooter,
  this.trailing,
  this.endDrawer,
  this.config = const CLShellConfig(),
  this.slotsController,
  this.railHeader,
  this.railSecondary,
  this.railFooter,
  this.bottomDestinations,
  this.bottomBarItems,
  this.bottomBarHomeLogo,
});