NicePagination constructor

const NicePagination({
  1. Key? key,
  2. required int currentPage,
  3. required int totalPages,
  4. required ValueChanged<int> onPageChanged,
  5. int maxVisible = 7,
  6. bool showFirstLast = true,
})

Implementation

const NicePagination({
  super.key,
  required this.currentPage,
  required this.totalPages,
  required this.onPageChanged,
  this.maxVisible = 7,
  this.showFirstLast = true,
});