SRefreshCallback typedef

SRefreshCallback = Future<void> Function()

The signature for a function that's called when the user has dragged a SLiquidPullToRefresh far enough to demonstrate that they want the app to refresh. The returned Future must complete when the refresh operation is finished.

Used by SLiquidPullToRefresh.onRefresh.

Implementation

typedef SRefreshCallback = Future<void> Function();