first
This commit is contained in:
9
lib/controller/functions/launch.dart
Normal file
9
lib/controller/functions/launch.dart
Normal file
@@ -0,0 +1,9 @@
|
||||
import 'package:url_launcher/url_launcher.dart';
|
||||
|
||||
void launchUrl1(String url) async {
|
||||
if (await canLaunchUrl(Uri.parse(url))) {
|
||||
launchUrl(Uri.parse(url));
|
||||
} else {
|
||||
print('Could not launch $url');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user