canGoForward method
Returns a boolean value indicating whether the WebView can move forward.
Officially Supported Platforms/Implementations:
- Android WebView (Official API - WebView.canGoForward)
- iOS WKWebView (Official API - WKWebView.canGoForward)
- macOS WKWebView (Official API - WKWebView.canGoForward)
- Windows WebView2 (Official API - ICoreWebView2.get_CanGoForward)
- Linux WPE WebKit (Official API - webkit_web_view_can_go_forward)
Use the PlatformInAppWebViewController.isMethodSupported method to check if this method is supported at runtime.
Implementation
Future<bool> canGoForward() => platform.canGoForward();