RefreshCallback typedef

RefreshCallback = bool Function()

Callback returned by a refreshable widget to check if it is still mounted. Returns true if the widget should remain subscribed.

Implementation

typedef RefreshCallback = bool Function();