SideNavbar constructor
SideNavbar({
- Key? key,
- required List<
SideItemModel> pages, - EdgeInsets? padding,
- bool reversed = false,
- bool shrinkWrap = false,
- bool appBarIsShown = false,
- Duration duration = const Duration(milliseconds: 400),
- AutoScrollController? controller,
- ScrollPhysics? physics,
- BoxDecoration? decoration,
Implementation
SideNavbar({
Key? key,
required this.pages,
this.navigationWidth = 75,
this.navigationBackgroundColor = Colors.white10,
this.padding,
this.paddingNavigation = const EdgeInsets.all(10),
this.reversed = false,
this.shrinkWrap = false,
this.appBarIsShown = false,
this.duration = const Duration(milliseconds: 400),
this.controller,
this.physics,
BoxDecoration? decoration,
}) : decorationItem = decoration ?? BoxDecoration(),
super(key: key);