import 'package:diplomaticquarterapp/uitl/location_util.dart'; import 'package:diplomaticquarterapp/uitl/utils.dart'; import 'package:flutter/cupertino.dart'; class TestPage extends StatefulWidget{ @override State createState() => TestPageState(); } class TestPageState extends State{ 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( ); } }