CustomSideBar constructor

const CustomSideBar({
  1. Key? key,
  2. required List items,
  3. String? currentRoute,
  4. SidebarConfig? sidebarConfig,
  5. ItemConfig? itemConfig,
  6. bool onRoute = false,
  7. dynamic onRouteSelected(
    1. String
    )?,
})

Implementation

const CustomSideBar({
  super.key,
  required this.items,
  this.currentRoute,
  this.sidebarConfig,
  this.itemConfig,
  this.onRoute = false,
  this.onRouteSelected,
});