launchers library

Classes

CommunicationResponse
Email
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 accept LaunchInput 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>
ProviderKey<I, R extends LaunchResponse>
Subject
Launch input parameter that opens a profile or account
Tags

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)

Exceptions / Errors

NoProviderError