onLoadStop method
Event fired when the WebView finishes loading an url.
Officially Supported Platforms/Implementations:
- Android WebView (Official API - WebViewClient.onPageFinished)
- iOS WKWebView (Official API - WKNavigationDelegate.webView)
- macOS WKWebView (Official API - WKNavigationDelegate.webView)
- Windows WebView2 (Official API - ICoreWebView2.add_NavigationCompleted)
Parameters - Officially Supported Platforms/Implementations:
url: all platforms
Use the PlatformInAppBrowserEvents.isMethodSupported method to check if this method is supported at runtime.
Implementation
@override
Future onLoadStop(url) async {
pullToRefreshController?.endRefreshing();
}