import 'package:url_launcher/url_launcher.dart'; /// Phones and desktops: the link opens in the system browser, which renders /// what it can and offers to download the rest. Future openArtifactExternally(Uri uri) async { try { return await launchUrl(uri, mode: LaunchMode.externalApplication); } catch (_) { return false; } }