Polish and refactor

This commit is contained in:
vjrj 2018-06-10 21:12:59 +02:00
parent 40842dc4e4
commit 188a9bc249
5 changed files with 41 additions and 69 deletions

View file

@ -9,7 +9,7 @@ Future<BasicLocation> getUserLocation(GlobalKey<ScaffoldState> scaffoldKey) asyn
try {
Location _location = new Location();
Map<String, double> location = await _location.getLocation;
print('location $location');
// print('location $location');
// It seems that the lib fails with lat/lon values
return new BasicLocation(