NavButton constructor

NavButton({
  1. required ValueChanged<int> onTap,
  2. required double position,
  3. required int length,
  4. required bool isEndDrawer,
  5. double? width,
  6. Color? color,
  7. required int index,
  8. required Icon icon,
})

Implementation

NavButton(
    {required this.onTap,
    required this.position,
    required this.length,
    required this.isEndDrawer,
    this.width,
    this.color,
    required this.index,
    required this.icon});