SideBar constructor
SideBar({
- Color backgroundColor = Colors.blueGrey,
- required List<
SideNavItem> items, - double sideBarCollapsedWidth = 60,
- double sideBarWidth = 180,
- Function? show,
- Color? selectedColor = Colors.transparent,
- bool alwaysOpened = false,
- 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,
});