isEnabled method
Returns true is pull-to-refresh feature is enabled, otherwise false.
Officially Supported Platforms/Implementations:
- Android WebView (Official API - View.isEnabled)
- iOS WKWebView (Official API - UIScrollView.refreshControl)
- Windows WebView2 (Official API - Flutter pointer events + WebView2 ExecuteScript)
Use the PlatformPullToRefreshController.isMethodSupported method to check if this method is supported at runtime.
Implementation
Future<bool> isEnabled() => platform.isEnabled();