url flutter web code example
Example 1: how to launch url in flutter web
import 'dart:html' as html;
void htmlOpenLink() {
String url = 'https://flutter.dev';
html.window.open(url, '_blank');
}
Example 2: flutter web get url
import 'dart:html';
var url = window.location.href;