onPageChanged property

dynamic Function(int index)? onPageChanged
final

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

Implementation

final Function(int index)? onPageChanged;