isRefreshing method
Returns whether a refresh operation has been triggered and is in progress.
Officially Supported Platforms/Implementations:
- Android WebView (Official API - SwipeRefreshLayout.isRefreshing)
- iOS WKWebView (Official API - UIRefreshControl.isRefreshing)
- Windows WebView2 (Official API - Flutter pull-to-refresh indicator state)
Use the PlatformPullToRefreshController.isMethodSupported method to check if this method is supported at runtime.
Implementation
Future<bool> isRefreshing() => platform.isRefreshing();