const Pagination({ super.key, required this.currentPage, required this.totalPages, required this.onPageChanged, });