LaunchType enum
Defines the category of URL or application to be launched.
Values
- whatsapp → const LaunchType
-
Launches a WhatsApp chat.
Uses the
https://wa.me/scheme. - phone → const LaunchType
-
Launches the system phone application to make a call.
Uses the
tel:scheme. - email → const LaunchType
-
Launches the system email application.
Uses the
mailto:scheme. - sms → const LaunchType
-
Launches the system SMS application.
Uses the
sms:scheme. - website → const LaunchType
-
Launches a web browser to open a standard URL.
Uses
http:orhttps:. - map → const LaunchType
-
Launches a map application to show a location.
Uses Google Maps search URLs by default.
- custom → const LaunchType
-
Launches a custom URL scheme defined by the developer.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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<
LaunchType> - A constant List of the values in this enum, in order of their declaration.