You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
784 B
Dart
41 lines
784 B
Dart
4 years ago
|
import 'package:diplomaticquarterapp/uitl/location_util.dart';
|
||
|
import 'package:diplomaticquarterapp/uitl/utils.dart';
|
||
|
import 'package:flutter/cupertino.dart';
|
||
|
|
||
|
class TestPage extends StatefulWidget{
|
||
|
@override
|
||
|
State<StatefulWidget> createState() => TestPageState();
|
||
|
|
||
|
}
|
||
|
|
||
|
class TestPageState extends State<TestPage>{
|
||
|
bool isGMS = false;
|
||
|
bool isHMS = false;
|
||
|
|
||
|
@override
|
||
|
void initState() {
|
||
|
super.initState();
|
||
|
// openStore();
|
||
|
location();
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
openStore() async{
|
||
|
openAppStore(androidPackageName: "com.ejada.hmg", iOSAppID: "733503978");
|
||
|
}
|
||
|
|
||
|
void location(){
|
||
|
LocationUtils().getCurrentLocation(callBack: (latLng){
|
||
|
debugPrint(latLng.toString());
|
||
|
});
|
||
|
}
|
||
|
|
||
|
|
||
|
@override
|
||
|
Widget build(BuildContext context) {
|
||
|
return Container(
|
||
|
);
|
||
|
}
|
||
|
|
||
|
}
|