goForward method
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)
- Windows (Official API - ICoreWebView2.GoForward)
Implementation
@override
Future<void> goForward() async {
Map<String, dynamic> args = <String, dynamic>{};
await channel?.invokeMethod('goForward', args);
}