CustomSideBar constructor

const CustomSideBar({
  1. Key? key,
  2. required List items,
  3. String? currentRoute,
  4. Color? backgroundColor,
  5. double? width,
  6. bool onRoute = false,
  7. dynamic onRouteSelected(
    1. String
    )?,
})

Implementation

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