OpenMail class
Provides ability to query device for installed email apps and open those apps
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
-
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
Static Properties
- platform ↔ Platform
-
getter/setter pair
Static Methods
-
composeNewEmailInMailApp(
{String nativePickerTitle = '', required EmailContent emailContent}) → Future< OpenMailAppResult> -
Allows you to open a mail application installed on the user's device
and start composing a new email with the contents in
emailContent
. -
composeNewEmailInSpecificMailApp(
{required MailApp mailApp, required EmailContent emailContent}) → Future< bool> -
Allows you to compose a new email in the specified
mailApp
witht the contents fromemailContent
-
getMailApps(
) → Future< List< MailApp> > - Returns a list of installed email apps on the device
-
openMailApp(
{String nativePickerTitle = ''}) → Future< OpenMailAppResult> - Attempts to open an email app installed on the device.
-
openSpecificMailApp(
MailApp mailApp) → Future< bool> - Attempts to open a specific email app installed on the device. Get a MailApp from calling getMailApps
-
setFilterList(
List< String> filterList) → void -
Clears existing filter list and sets the filter list to the passed values.
Filter list is case insensitive. Listed apps will be excluded from the results
of
getMailApps
by name.