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? navFooter,
  10. Widget? trailing,
  11. Widget? endDrawer,
  12. CLShellConfig config = const CLShellConfig(),
  13. ShellSlotsController? slotsController,
  14. Widget? railHeader,
  15. Widget? railFooter,
  16. List<CLDestination>? bottomDestinations,
  17. 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.navFooter,
  this.trailing,
  this.endDrawer,
  this.config = const CLShellConfig(),
  this.slotsController,
  this.railHeader,
  this.railFooter,
  this.bottomDestinations,
  this.bottomBarItems,
  this.bottomBarHomeLogo,
});