goForward method
Goes forward in the history of the WebView.
Officially Supported Platforms/Implementations:
- Android WebView (Official API - WebView.goForward)
- iOS WKWebView (Official API - WKWebView.goForward)
- macOS WKWebView (Official API - WKWebView.goForward)
- Web <iframe> but requires same origin (Official API - History.forward)
- Windows WebView2 (Official API - ICoreWebView2.GoForward)
- Linux WPE WebKit (Official API - webkit_web_view_go_forward)
Use the PlatformInAppWebViewController.isMethodSupported method to check if this method is supported at runtime.
Implementation
Future<void> goForward() => platform.goForward();