stopLoading method
Stops the WebView from loading.
NOTE for Web: this method will have effect only if the iframe has the same origin.
Officially Supported Platforms/Implementations:
- Android native WebView (Official API - WebView.stopLoading)
- iOS (Official API - WKWebView.stopLoading)
- MacOS (Official API - WKWebView.stopLoading)
- Web (Official API - Window.stop)
- Windows (Official API - ICoreWebView2.Stop)
Implementation
Future<void> stopLoading() => platform.stopLoading();