We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
final bool canSend = await FlutterMailer.canSendMail(); if(!canSend && Platform.isIOS) { final url = 'mailto:?body=$body&subject=$subject'; if (await canLaunch(url)) { await launch(url); } else { print("FlutterMailer"); createAlertDialog(BuildContext context) { return showDialog(context: context, builder: (context) { return AlertDialog( title: Text('Delete all samples'), content: Text('Are you sure you want to delete?'), actions: [ MaterialButton( child: Text('Ok'), onPressed: () { // Navigator.of(context).pop(SampleList()); }, ), ], ); }); } throw 'Could not launch $url'; } }
The text was updated successfully, but these errors were encountered:
Something like this but this is not perfect. May need to pass the context to the mailer functions of pass back a response.
Sorry, something went wrong.
KipCrossing
ottersp0tter
No branches or pull requests
The text was updated successfully, but these errors were encountered: