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
		
	
	
		
			822 B
		
	
	
	
		
			Dart
		
	
			
		
		
	
	
			41 lines
		
	
	
		
			822 B
		
	
	
	
		
			Dart
		
	
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(context: context,isShowConfirmDialog: false).getCurrentLocation(callBack: (latLng){
 | 
						|
      print(latLng.toString());
 | 
						|
    });
 | 
						|
  }
 | 
						|
 | 
						|
 | 
						|
  @override
 | 
						|
  Widget build(BuildContext context) {
 | 
						|
    return  Container(
 | 
						|
    );
 | 
						|
  }
 | 
						|
 | 
						|
} |