onPageChanged property

(void Function(int page)?) onPageChanged
final

Invoked when the user switches to another page.

The value is the index of the first row on the currently displayed page.

Implementation

final void Function(int page)? onPageChanged;