RefreshCallback typedef
RefreshCallback =
Future<void> Function()
The signature for a function that's called when the user has dragged a
LiquidPullToRefresh
far enough to demonstrate that they want the app to
refresh. The returned Future must complete when the refresh operation is
finished.
Used by LiquidPullToRefresh.onRefresh
.
Implementation
typedef RefreshCallback = Future<void> Function();