onRefresh property

RefreshCallback onRefresh
final

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

Implementation

final RefreshCallback onRefresh