import 'dart:html' as html;
void htmlOpenLink() {
String url = 'https://flutter.dev';
html.window.open(url, '_blank');
}
import 'package:url_launcher/url_launcher.dart';
const url = "https://flutter.io";
if (await canLaunchUrl(url))
await launchUrl(url);
else
// can't launch url, there is some error
throw "Could not launch $url";
import 'dart:html';
var url = window.location.href;