onPageChanged property

dynamic Function(int index)? onPageChanged
getter/setter pair

Called whenever the page in the center of the viewport changes.

Implementation

Function(int index)? onPageChanged;