onPageChange property Null safety

(void Function?(int page)?) onPageChange
final

Called with page index when page changed.

Implementation

final void Function(int page)? onPageChange;