PreferredLaunchMode 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.

Inheritance

Constructors

PreferredLaunchMode()
const

Values

platformDefault → const PreferredLaunchMode

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

inAppWebView → const PreferredLaunchMode

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

inAppBrowserView → const PreferredLaunchMode

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

externalApplication → const PreferredLaunchMode

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

externalNonBrowserApplication → const PreferredLaunchMode

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<PreferredLaunchMode>
A constant List of the values in this enum, in order of their declaration.