SideNavbar constructor

SideNavbar({
  1. Key? key,
  2. required List<SideItemModel> pages,
  3. double navigationWidth = 75,
  4. Color navigationBackgroundColor = Colors.white10,
  5. EdgeInsets? padding,
  6. EdgeInsets? paddingNavigation = const EdgeInsets.all(10),
  7. bool reversed = false,
  8. bool shrinkWrap = false,
  9. bool appBarIsShown = false,
  10. Duration duration = const Duration(milliseconds: 400),
  11. AutoScrollController? controller,
  12. ScrollPhysics? physics,
  13. 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);