reload method
Reloads the WebView.
NOTE for Web: if window.location.reload()
is not accessible inside the iframe, it will reload using the iframe src
attribute.
Officially Supported Platforms/Implementations:
- Android native WebView (Official API - WebView.reload)
- iOS (Official API - WKWebView.reload)
- MacOS (Official API - WKWebView.reload)
- Web (Official API - Location.reload)
- Windows (Official API - ICoreWebView2.Reload)
Implementation
Future<void> reload() {
throw UnimplementedError(
'reload is not implemented on the current platform');
}