CLAdaptiveShell constructor
const
CLAdaptiveShell({
- Key? key,
- required List<
CLDestination> destinations, - required String? selectedKey,
- required ValueChanged<
CLDestination> onSelect, - required Widget header,
- required Widget body,
- Widget? headerLeading,
- Widget? trailing,
- Widget? endDrawer,
- CLShellConfig config = const CLShellConfig(),
- ShellSlotsController? slotsController,
- Widget? railHeader,
- List<
CLDestination> ? bottomDestinations, - List<
CLBottomBarItem> ? bottomBarItems, - Widget? bottomBarHomeLogo,
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,
});