mail_app_launcher 0.0.1 copy "mail_app_launcher: ^0.0.1" to clipboard
mail_app_launcher: ^0.0.1 copied to clipboard

A Flutter plugin to launch supported email apps on Android and iOS.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:mail_app_launcher/mail_app_launcher.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatefulWidget {
  const MyApp({super.key});

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: const Text('Mail App Launcher Example')),
        body: Center(
          child: ElevatedButton(
            onPressed: () {
              MailAppLauncher.showMailAppPicker(context);
            },
            child: const Text('Launch Mail App Picker'),
          ),
        ),
      ),
    );
  }
}
0
likes
130
points
26
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin to launch supported email apps on Android and iOS.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

adaptive_action_sheet, flutter, plugin_platform_interface, url_launcher

More

Packages that depend on mail_app_launcher

Packages that implement mail_app_launcher