NavButton constructor

NavButton({
  1. required ValueChanged<int> onTap,
  2. required double position,
  3. required int length,
  4. required int index,
  5. required Widget child,
})

Implementation

NavButton({
  required this.onTap,
  required this.position,
  required this.length,
  required this.index,
  required this.child,
});