2025-04-02 19:11:36 +05:30

17 lines
332 B
Dart

import 'package:url_launcher/url_launcher.dart';
class UrlService {
static goToUrl(String url) async {
await launchUrl(Uri.parse(url));
}
static goToPagger() {
goToUrl('https://getappui.com/pagger');
}
static getCurrentUrl() {
var path = Uri.base.path;
return path.replaceAll('maxdash/web/', '');
}
}