onPageChanged property
When the current page is changed, this returns the new page value.
Implementation
final void Function(int page)? onPageChanged;
When the current page is changed, this returns the new page value.
final void Function(int page)? onPageChanged;