onStateChange property

void Function(Set<EndlessState> states)? onStateChange
final

A callback function that provides the current states of the endless scroll view whenever they change.

Implementation

final void Function(Set<EndlessState> states)? onStateChange;