So I want users to be able to fill the form and send an email like the typical website Contact forms we have.
I have tried several libraries on pub dev, but non seems to do the job right, most only focus on IOS and Android.
So I want users to be able to fill the form and send an email like the typical website Contact forms we have.
I have tried several libraries on pub dev, but non seems to do the job right, most only focus on IOS and Android.
使用这个插件
dependencies:
url_launcher: ^5.7.1
import 'package:url_launcher/url_launcher.dart';
_launchURL() async {
const url = 'https://flutter.dev';
if (await canLaunch(url)) {
await launch(url);
} else {
throw 'Could not launch $url';
}
}