Add link to github in app drawer

This commit is contained in:
estevez
2018-09-24 22:12:56 +03:00
parent 2b622cff04
commit 60793dbf89
4 changed files with 28 additions and 0 deletions

11
lib/utils.dart Normal file
View File

@ -0,0 +1,11 @@
part of 'main.dart';
class haUtils {
static void launchURL(String url) async {
if (await canLaunch(url)) {
await launch(url);
} else {
TheLogger.log("Error", "Could not launch $url");
}
}
}