SideBar constructor

SideBar({
  1. Color backgroundColor = Colors.blueGrey,
  2. required List<SideNavItem> items,
  3. double sideBarCollapsedWidth = 60,
  4. double sideBarWidth = 180,
  5. Function? show,
  6. Color? selectedColor = Colors.transparent,
  7. bool alwaysOpened = false,
  8. PageController? pageController,
})

Implementation

SideBar({
  this.backgroundColor = Colors.blueGrey,
  required this.items,
  this.sideBarCollapsedWidth = 60,
  this.sideBarWidth = 180,
  this.show,
  this.selectedColor = Colors.transparent,
  this.alwaysOpened = false,
  this.pageController,
});