onRefresh property

Future<void> Function() onRefresh
final

Called when the user pulls past triggerDistance and releases. The returned future controls how long the spinning state is shown.

Implementation

final Future<void> Function() onRefresh;