Called whenever the page in the center of the viewport changes.
final ValueChanged<int>? onPageChanged;