launchUrl function
Implementation
void launchUrl(String url) {
if (Platform.isMacOS) {
Process.run('open', [url]);
} else if (Platform.isLinux) {
Process.run('xdg-open', [url]);
} else if (Platform.isWindows) {
Process.run('powershell', ['Start-Process', '"$url"']);
}
}