onChange property

(void Function(int value)?) onChange
final

A callback executed every time the page changes.

Setting this to null will disable the widget.

Implementation

final void Function(int value)? onChange;