first commit
This commit is contained in:
16
lib/controller/functions/location_permission.dart
Normal file
16
lib/controller/functions/location_permission.dart
Normal file
@@ -0,0 +1,16 @@
|
||||
// import 'package:location/location.dart';
|
||||
// import 'package:get/get.dart';
|
||||
|
||||
// class LocationPermissions {
|
||||
// late Location location;
|
||||
|
||||
// Future locationPermissions() async {
|
||||
// location = Location();
|
||||
// var permissionStatus = await location.requestPermission();
|
||||
// if (permissionStatus == PermissionStatus.denied) {
|
||||
// // The user denied the location permission.
|
||||
// Get.defaultDialog(title: 'GPS Required Allow !.'.tr, middleText: '');
|
||||
// return null;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
Reference in New Issue
Block a user