NavBar constructor

const NavBar({
  1. required AnimationController animationController,
  2. required AnimationController optionController,
  3. required Animation pathOpacity,
  4. required Animation curve1,
  5. required Animation curve2,
  6. required Animation navBarSize,
  7. required Animation option1,
  8. required Animation option2,
  9. required Animation option3,
  10. required Animation option4,
  11. required Color navBarColor,
  12. required Color selectedColor,
  13. required Color colorButtonDisabled,
  14. required double elevation,
  15. required ValueChanged<int> onPageChanged,
  16. required bool? showLabel,
  17. required List<NavBarItem> navBarItems,
})

This widget draws the navBar and its items

Implementation

const NavBar({
  required this.animationController,
  required this.optionController,
  required this.pathOpacity,
  required this.curve1,
  required this.curve2,
  required this.navBarSize,
  required this.option1,
  required this.option2,
  required this.option3,
  required this.option4,
  required this.navBarColor,
  required this.selectedColor,
  required this.colorButtonDisabled,
  required this.elevation,
  required this.onPageChanged,
  required this.showLabel,
  required this.navBarItems,
});