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.
- instagram → const LaunchType
-
Launches an Instagram profile.
Uses the
instagram://scheme or a web fallback. - tiktok → const LaunchType
-
Launches a TikTok profile.
Uses the
tiktok://scheme or a web fallback. - linkedin → const LaunchType
-
Launches a LinkedIn profile.
Uses the
linkedin://scheme or a web fallback. - calendar → const LaunchType
-
Creates a calendar event.
Uses platform-specific intents or web fallbacks.
-
Opens the system share sheet to share content.
Uses platform-specific share intents.
- facebook → const LaunchType
-
Launches a Facebook profile or page.
Uses the
fb://scheme or a web fallback. - github → const LaunchType
-
Launches a GitHub profile or repository.
Uses a web fallback as there's no standard app scheme.
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.