onChange property
final
A callback executed every time the page changes.
Setting this to null will disable the widget.
Implementation
final void Function(int value)? onChange;
A callback executed every time the page changes.
Setting this to null will disable the widget.
final void Function(int value)? onChange;