goForward method
{@template flutter_webview_platform_interface.PlatformInAppWebViewController.goForward} Goes forward in the history of the WebView.
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.goForward)
- iOS (Official API - WKWebView.goForward)
- MacOS (Official API - WKWebView.goForward)
- Web (Official API - History.forward) @{endtemplate}
Implementation
@override
Future<void> goForward() async {
Map<String, dynamic> args = <String, dynamic>{};
await channel?.invokeMethod('goForward', args);
}