OpenMailLauncherPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • OpenMailLauncherPlatform
Implementers

Constructors

OpenMailLauncherPlatform.new()
Constructs a OpenMailLauncherPlatform.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

composeEmail({required EmailContent emailContent}) Future<bool>
Composes an email in the default mail app
getMailApps() Future<List<MailApp>>
Gets the list of available email apps on the device
isMailAppAvailable() Future<bool>
Checks if any mail app is available
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openMailApp({EmailContent? emailContent}) Future<OpenMailAppResult>
Opens the default email app or shows picker if multiple apps exist
openSpecificMailApp({required String appId, EmailContent? emailContent}) Future<bool>
Opens a specific email app by its ID
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance OpenMailLauncherPlatform
The default instance of OpenMailLauncherPlatform to use.
getter/setter pair