NiceAppShell constructor
const
NiceAppShell({
- Key? key,
- required List<
NiceNavItem> items, - required String currentPath,
- required Widget child,
- String? title,
- Widget? titleWidget,
- Widget? logo,
- List<
Widget> actions = const [], - Widget? userMenu,
- double sidebarWidth = 240,
- double railWidth = 72,
- bool showLabelsOnRail = false,
- bool enableDrawerOnMobile = true,
- PreferredSizeWidget? appBar,
Implementation
const NiceAppShell({
super.key,
required this.items,
required this.currentPath,
required this.onNavigate,
required this.child,
this.title,
this.titleWidget,
this.logo,
this.actions = const [],
this.footer,
this.userMenu,
this.sidebarWidth = 240,
this.railWidth = 72,
this.showLabelsOnRail = false,
this.enableDrawerOnMobile = true,
this.appBar,
});