Mailto class
Mailto helps you create email ("mailto") links.
The class takes care of all the necessary encoding.
Flutter info
You can use the url_launcher
package for launching the
URL that the Mailto class's toString method returns.
It will open the default email client on the smart phone,
with pre-filled to, cc, bcc recipient list, subject, and body
(content of the email).
The user can still decide not to send an email or edit any of the fields.
Constructors
Properties
-
bcc
→ List<
String> ? -
Recipient(s) of a secret copy of the email.
final
- body → String?
-
Body of email.
final
-
cc
→ List<
String> ? -
Recipient(s) of a copy of the email.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subject → String?
-
Subject of email.
final
-
to
→ List<
String> ? -
Main recipient(s) of your email
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited