NicePageNav constructor

const NicePageNav({
  1. Key? key,
  2. required int currentPage,
  3. required int totalPages,
  4. ValueChanged<int>? onPageChanged,
  5. int visiblePages = 5,
  6. bool showFirstLast = true,
  7. bool showPrevNext = true,
  8. Color? activeColor,
  9. Color? inactiveColor,
})

Implementation

const NicePageNav({
  super.key,
  required this.currentPage,
  required this.totalPages,
  this.onPageChanged,
  this.visiblePages = 5,
  this.showFirstLast = true,
  this.showPrevNext = true,
  this.activeColor,
  this.inactiveColor,
});