onPageChanged property
When changing the page, this method will be called with the new page.
Implementation
final PageChangedCallback? onPageChanged;
When changing the page, this method will be called with the new page.
final PageChangedCallback? onPageChanged;