sendEmail static method
发送邮件
mailAddress 邮箱地址 smith@example.org?subject=News&body=New%20plugin
若不支持发邮件则返回false
Implementation
static Future<bool> sendEmail(
String mailAddress, {
String subject = '',
String content = '',
}) async {
Uri uri = Uri(scheme: 'mailto', path: mailAddress, queryParameters: {'subject': subject, 'body': content});
if (!await onCanLaunchUrl(uri.toString())) return false;
return await launchUrl(uri);
}