mirror of
https://github.com/nini22P/iris.git
synced 2026-09-06 07:47:23 +08:00
8 lines
187 B
Dart
8 lines
187 B
Dart
import 'package:url_launcher/url_launcher.dart';
|
|
|
|
Future<void> launchURL(String url) async {
|
|
if (!await launchUrl(Uri.parse(url))) {
|
|
throw Exception('Could not launch $url');
|
|
}
|
|
}
|