open_mail_launcher 0.1.1
open_mail_launcher: ^0.1.1 copied to clipboard
A Flutter plugin to open email apps on Android and iOS. Query installed email apps, compose emails with pre-filled content, and provide a seamless email app selection experience.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add open_mail_launcher
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
open_mail_launcher: ^0.1.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:open_mail_launcher/open_mail_launcher.dart';