LaunchMode enum

The desired mode to launch a URL.

Support for these modes varies by platform. Platforms that do not support the requested mode may substitute another mode. See launchUrl for more details.

Inheritance
Available extensions

Values

platformDefault → const LaunchMode

Leaves the decision of how to launch the URL to the platform implementation.

inAppWebView → const LaunchMode

Loads the URL in an in-app web view (e.g., Android WebView).

inAppBrowserView → const LaunchMode

Loads the URL in an in-app web view (e.g., Android Custom Tabs, SFSafariViewController).

externalApplication → const LaunchMode

Passes the URL to the OS to be handled by another application.

externalNonBrowserApplication → const LaunchMode

Passes the URL to the OS to be handled by another non-browser application.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
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

Constants

values → const List<LaunchMode>
A constant List of the values in this enum, in order of their declaration.