CustomSideBar constructor
const
CustomSideBar({
- Key? key,
- required List items,
- String? currentRoute,
- SidebarConfig? sidebarConfig,
- ItemConfig? itemConfig,
- bool onRoute = false,
- dynamic onRouteSelected()?,
Implementation
const CustomSideBar({
super.key,
required this.items,
this.currentRoute,
this.sidebarConfig,
this.itemConfig,
this.onRoute = false,
this.onRouteSelected,
});