openWithSystemBrowser static method

Future<void> openWithSystemBrowser({
  1. required WebUri url,
})

This is a static method that opens an url in the system browser. You wont be able to use the PlatformInAppBrowser events and methods here.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • macOS WKWebView
  • Windows WebView2
  • Linux WPE WebKit

Parameters - Officially Supported Platforms/Implementations:

  • url: all platforms

Use the PlatformInAppBrowser.isMethodSupported method to check if this method is supported at runtime.

Implementation

static Future<void> openWithSystemBrowser({required WebUri url}) =>
    PlatformInAppBrowser.static().openWithSystemBrowser(url: url);