LaunchUrlHelper class

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

launchURL(String url, {LaunchMode? mode}) → Future<void>
Launches the url in an external browser.
launchURLInBrowserView(String url) → Future<void>
Apple Pay and Google Pay disappear inside a webview, and a device with no Custom Tabs provider silently gets url_launcher's own bundled one. Fall back to a real browser instead, which keeps every payment method.
launchURLInWebViewOrBrowser(BuildContext context, String url, {LaunchMode? mode}) → Future<void>
Launches the URL in a WebView if it's an OFF link or an external browser.