launchers library
Classes
- CommunicationResponse
- EmailComposeLauncher
- This file contains the api and implementation for native email and gmail app integration.
- EmailProviderKey
- GmailComposeLauncher
- Launches a gmail compose
-
LaunchProvider<
I, R extends LaunchResponse> -
The base class for this library. This class represents a service that can be opened on the phone, focusing on
a particular user, represented by
handle
. Additionally, it may acceptLaunchInput
parameters to further customize the view that was initialized. This class can be subclassed to represent a particular type of operation, like sending email, and the user can then register particular handlers for that operation. - LaunchResponse
-
LaunchResults<
L extends LaunchResponse> - LaunchService
- LinkLaunchResponse
- LinkProvider
-
Knows how to open up a link to an application, with optional parameters.
For a list of examples, see
lib/default_providers.dart
, eg gmailProvider - LinkProviderKey
- NativeEmailComposeLauncher
- Launches a native email compose
-
OperationKey<
I, R extends LaunchResponse> - PreparedLink
-
ProviderKey<
I, R extends LaunchResponse> - Subject
- Launch input parameter that opens a profile or account
- Tags
Enums
Extensions
-
LaunchProviderExt
on LaunchProvider<
dynamic, LaunchResponse> - LaunchResponseExt on LaunchResponse
- LaunchServiceExt on _LaunchService
Properties
- cashappProvider → LinkProvider
-
final
-
composeEmailOperation
→ OperationKey<
Email, CommunicationResponse> -
final
- facebookProvider → LinkProvider
-
final
- gmailComposeLauncher → GmailComposeLauncher
-
final
- gmailProvider → LinkProvider
-
final
- instagramProvider → LinkProvider
-
final
- linkedinProvider → LinkProvider
-
final
- nativeEmailComposeLauncher → NativeEmailComposeLauncher
-
final
-
openLinkOperationKey
→ OperationKey<
Subject, LaunchResponse> -
final
- paypalProvider → LinkProvider
-
final
- phoneProvider → LinkProvider
-
final
- pinterestProvider → LinkProvider
-
final
- smsProvider → LinkProvider
-
final
- snapchatProvider → LinkProvider
-
final
- twitterProvider → LinkProvider
-
final
- venmoProvider → LinkProvider
-
final
- youtubeChannelProvider → LinkProvider
-
final
- youtubeVideoProvider → LinkProvider
-
final
Functions
-
basicSocialHandleExtractor(
String domain1, [String? domain2, String? domain3, String? domain4]) → ExtractHandleFromUri - Simple extractor that assumes that the handle is the last segment in the URL, and matches against a list of domains
-
emailSendResult(
String? name) → CommunicationResponse -
telNumber(
String input) → String
Typedefs
-
ErrorBuilder<
R extends LinkLaunchResponse> = R Function(Object error) - ExtractHandleFromUri = String? Function(Uri uri)
-
LinkFromHandle<
I extends Subject> = String Function(I input)