onPageChanged property
Called whenever the page in the center of the viewport changes
Implementation
final void Function(int page)? onPageChanged;
Called whenever the page in the center of the viewport changes
final void Function(int page)? onPageChanged;