openPath function
Implementation
Future<void> openPath(String url) async {
if (Platform.isWindows) {
await Process.start('start', [url]);
} else if (Platform.isMacOS) {
await Process.start('open', [url]);
} else if (Platform.isLinux) {
await Process.start('xdg-open', [url]);
}
}