launchURL function
Implementation
launchURL(String url) async {
if (await canLaunchUrlString(url)) {
await launchUrlString(url);
} else {
if (kDebugMode) {
print('Could not launch $url');
}
}
}
launchURL(String url) async {
if (await canLaunchUrlString(url)) {
await launchUrlString(url);
} else {
if (kDebugMode) {
print('Could not launch $url');
}
}
}