onPageChanged property

void Function(int page)? onPageChanged
final

Called whenever the page in the center of the viewport changes

Implementation

final void Function(int page)? onPageChanged;