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