Browse Source

Merge remote-tracking branch 'origin/new_revision_app' into new_revision_app

dart3_last
wurong 2 years ago
parent
commit
aa14a0f876
  1. 34
      lib/address/address_map_page.dart
  2. 34
      lib/home/home_view/quick_order.dart
  3. 8
      lib/main_page.dart
  4. 18
      lib/mine/mine_shop_details.dart
  5. 18
      lib/mine/vip_detail_page.dart
  6. 27
      lib/order/store_selector_page.dart
  7. 24
      lib/settlement/settlement_view/distribution.dart
  8. 25
      lib/union/location_map_page.dart
  9. 34
      lib/union/union_page.dart
  10. 99
      lib/utils/location.dart
  11. 33
      pubspec.lock
  12. 10
      pubspec.yaml

34
lib/address/address_map_page.dart

@ -11,9 +11,7 @@ import 'package:flutter/services.dart';
import 'package:flutter_baidu_mapapi_base/flutter_baidu_mapapi_base.dart';
import 'package:flutter_baidu_mapapi_map/flutter_baidu_mapapi_map.dart';
import 'package:flutter_baidu_mapapi_utils/flutter_baidu_mapapi_utils.dart';
import 'package:flutter_bmflocation/bdmap_location_flutter_plugin.dart';
import 'package:flutter_bmflocation/flutter_baidu_location_android_option.dart';
import 'package:flutter_bmflocation/flutter_baidu_location_ios_option.dart';
import 'package:flutter_bmflocation/flutter_bmflocation.dart';
import 'package:flutter_easyloading/flutter_easyloading.dart';
import 'package:huixiang/generated/l10n.dart';
import 'package:huixiang/retrofit/data/address.dart';
@ -61,20 +59,14 @@ class _AddressMapPage extends State<AddressMapPage> {
if (aMapFlutterLocation == null) {
aMapFlutterLocation = LocationFlutterPlugin();
aMapFlutterLocation.requestPermission();
aMapFlutterLocation.onResultCallback().listen((event) {
print("event: ${jsonEncode(event)}");
if (event != null &&
event["latitude"] != null &&
event["longitude"] != null) {
city = event["city"];
BMFCoordinate latLng;
if (event["latitude"] is String && event["longitude"] is String) {
latLng = BMFCoordinate(double.tryParse(event["latitude"]),
double.tryParse(event["longitude"]));
} else {
latLng = BMFCoordinate(event["latitude"], event["longitude"]);
}
aMapFlutterLocation.singleLocationCallback(callback: (BaiduLocation result){
print("event: $result");
if (result != null &&
result.latitude != null &&
result.longitude != null) {
city = result.city;
BMFCoordinate latLng = BMFCoordinate(result.latitude, result.longitude);
BMFCalculateUtils.coordConvert(
coordinate: latLng,
fromType: BMF_COORD_TYPE.COMMON,
@ -95,8 +87,6 @@ class _AddressMapPage extends State<AddressMapPage> {
});
}
});
}
_setLocOption();
getLatLng();
@ -109,12 +99,12 @@ class _AddressMapPage extends State<AddressMapPage> {
BaiduLocationAndroidOption androidOption = new BaiduLocationAndroidOption();
androidOption.setCoorType("GCJ02"); //
androidOption.setIsNeedAltitude(true); //
androidOption.setIsNeedAddres(true); //
androidOption.setIsNeedAddress(true); //
androidOption.setIsNeedLocationPoiList(true); // poi信息
androidOption.setIsNeedNewVersionRgc(true); // rgc信息
androidOption.setIsNeedLocationDescribe(true); //
androidOption.setOpenGps(true); // 使gps
androidOption.setLocationMode(LocationMode.Hight_Accuracy); //
androidOption.setLocationMode(BMFLocationMode.hightAccuracy); //
androidOption.setScanspan(0); //
Map androidMap = androidOption.getMap();
@ -124,9 +114,9 @@ class _AddressMapPage extends State<AddressMapPage> {
iosOption.setIsNeedNewVersionRgc(true); // rgc信息
iosOption.setBMKLocationCoordinateType(
"BMKLocationCoordinateTypeGCJ02"); //
iosOption.setActivityType("CLActivityTypeAutomotiveNavigation"); //
iosOption.setActivityType(BMFActivityType.automotiveNavigation); //
iosOption.setLocationTimeout(10); //
iosOption.setDesiredAccuracy("kCLLocationAccuracyBest"); //
iosOption.setDesiredAccuracy(BMFDesiredAccuracy.best); //
iosOption.setReGeocodeTimeout(10); //
iosOption.setDistanceFilter(1000); //
iosOption.setAllowsBackgroundLocationUpdates(true); //

34
lib/home/home_view/quick_order.dart

@ -4,6 +4,7 @@ import 'package:flutter/material.dart';
import 'package:flutter_baidu_mapapi_base/flutter_baidu_mapapi_base.dart';
import 'package:flutter_baidu_mapapi_map/flutter_baidu_mapapi_map.dart';
import 'package:flutter_baidu_mapapi_utils/flutter_baidu_mapapi_utils.dart';
import 'package:flutter_bmflocation/flutter_bmflocation.dart';
import 'package:flutter_svg/flutter_svg.dart';
import 'package:huixiang/generated/l10n.dart';
import 'package:huixiang/store/scan.dart';
@ -100,20 +101,12 @@ class _QuickOrder extends State<QuickOrder> {
}
startLocation() async {
Location.getInstance()
.aMapFlutterLocation
.onResultCallback()
.listen((event) {
if (event != null &&
event["latitude"] != null &&
event["longitude"] != null) {
print("location: $event");
if (event["latitude"] is String && event["longitude"] is String) {
latLng = BMFCoordinate(double.tryParse(event["latitude"]),
double.tryParse(event["longitude"]));
} else {
latLng = BMFCoordinate(event["latitude"], event["longitude"]);
}
Location.getInstance().startLocation(context, (BaiduLocation result){
if (result != null &&
result.latitude != null &&
result.longitude != null) {
print("location: $result");
latLng = BMFCoordinate(result.latitude, result.longitude);
BMFCalculateUtils.coordConvert(
coordinate: latLng,
fromType: BMF_COORD_TYPE.BD09LL,
@ -121,16 +114,16 @@ class _QuickOrder extends State<QuickOrder> {
.then((value) {
this.latLng = value;
saveLatLng(
value, event["province"], event["city"], event["district"]);
value, result.province, result.city, result.district);
print("union: Location result ${value.latitude} "
"${value.longitude}");
Location.getInstance().stopLocation();
queryStore(
"${value.latitude}",
"${value.longitude}",
event["province"],
event["city"],
event["district"],
result.province,
result.city,
result.district,
editingController.text);
if (_mapController != null)
_mapController.updateMapOptions(BMFMapOptions(
@ -139,10 +132,7 @@ class _QuickOrder extends State<QuickOrder> {
));
});
}
});
Location.getInstance().prepareLoc();
Location.getInstance().startLocation(context).then((value) {});
}).then((value) {});
}
saveLatLng(BMFCoordinate latLng, province, city, district) async {

8
lib/main_page.dart

@ -3,7 +3,7 @@ import 'dart:io';
import 'package:dio/dio.dart';
import 'package:flutter/material.dart';
import 'package:flutter_baidu_mapapi_base/flutter_baidu_mapapi_base.dart';
import 'package:flutter_bmflocation/bdmap_location_flutter_plugin.dart';
import 'package:flutter_bmflocation/flutter_bmflocation.dart';
import 'package:flutter_easyloading/flutter_easyloading.dart';
import 'package:flutter_smart_dialog/flutter_smart_dialog.dart';
import 'package:flutter_svg/flutter_svg.dart';
@ -193,8 +193,12 @@ class _MainPage extends State<MainPage> with WidgetsBindingObserver {
);
SharesdkPlugin.regist(shareSDKRegister);
LocationFlutterPlugin myLocPlugin = LocationFlutterPlugin();
// //
myLocPlugin.setAgreePrivacy(true);
BMFMapSDK.setAgreePrivacy(true);
if (Platform.isIOS) {
LocationFlutterPlugin.setApiKey("ylW2QPlsbERkho7jOgU4GQSeawmdUIoR");
myLocPlugin.authAK("ylW2QPlsbERkho7jOgU4GQSeawmdUIoR");
BMFMapSDK.setApiKeyAndCoordType(
'ylW2QPlsbERkho7jOgU4GQSeawmdUIoR',
BMF_COORD_TYPE.COMMON,

18
lib/mine/mine_shop_details.dart

@ -1,6 +1,7 @@
import 'package:barcode_widget/barcode_widget.dart';
import 'package:dio/dio.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bmflocation/flutter_bmflocation.dart';
import 'package:flutter_easyloading/flutter_easyloading.dart';
import 'package:huixiang/generated/l10n.dart';
import 'package:huixiang/retrofit/data/base_data.dart';
@ -83,20 +84,15 @@ class _MineShopDetails extends State<MineShopDetails> {
startLocation() async {
// EasyLoading.show(status: S.current.zhengzaijiazai);
Location.getInstance()
.aMapFlutterLocation
.onResultCallback()
.listen((event) {
if (event != null &&
event["latitude"] != null &&
event["longitude"] != null) {
vipDetail(event["latitude"], event["longitude"]);
Location.getInstance().startLocation(context, (BaiduLocation result){
if (result != null &&
result.latitude != null &&
result.longitude != null) {
vipDetail(result.latitude, result.longitude);
} else {
EasyLoading.dismiss();
}
});
Location.getInstance().prepareLoc();
Location.getInstance().startLocation(context).then((value) {
}).then((value) {
if (!value) {
EasyLoading.dismiss();
refreshController.refreshFailed();

18
lib/mine/vip_detail_page.dart

@ -1,6 +1,7 @@
import 'package:barcode_widget/barcode_widget.dart';
import 'package:dio/dio.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bmflocation/flutter_bmflocation.dart';
import 'package:flutter_easyloading/flutter_easyloading.dart';
import 'package:huixiang/generated/l10n.dart';
import 'package:huixiang/retrofit/data/base_data.dart';
@ -50,20 +51,15 @@ class _VipDetailPage extends State<VipDetailPage> {
startLocation() async {
// EasyLoading.show(status: S.current.zhengzaijiazai);
Location.getInstance()
.aMapFlutterLocation
.onResultCallback()
.listen((event) {
if (event != null &&
event["latitude"] != null &&
event["longitude"] != null) {
vipDetail(event["latitude"], event["longitude"]);
Location.getInstance().startLocation(context, (BaiduLocation result) {
if (result != null &&
result.latitude != null &&
result.longitude != null) {
vipDetail(result.latitude, result.longitude);
} else {
EasyLoading.dismiss();
}
});
Location.getInstance().prepareLoc();
Location.getInstance().startLocation(context).then((value) {
}).then((value) {
if (!value) {
EasyLoading.dismiss();
refreshController.refreshFailed();

27
lib/order/store_selector_page.dart

@ -6,7 +6,7 @@ import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_baidu_mapapi_base/flutter_baidu_mapapi_base.dart';
import 'package:flutter_baidu_mapapi_utils/flutter_baidu_mapapi_utils.dart';
import 'package:flutter_bmflocation/bdmap_location_flutter_plugin.dart';
import 'package:flutter_bmflocation/flutter_bmflocation.dart';
import 'package:flutter_easyloading/flutter_easyloading.dart';
import 'package:flutter_smart_dialog/flutter_smart_dialog.dart';
import 'package:huixiang/generated/l10n.dart';
@ -52,18 +52,14 @@ class _StoreSelectorPage extends State<StoreSelectorPage> {
if (aMapFlutterLocation == null) {
aMapFlutterLocation = LocationFlutterPlugin();
aMapFlutterLocation.onResultCallback().listen((event) {
if (event != null &&
event["latitude"] != null &&
event["longitude"] != null) {
print("location: $event");
aMapFlutterLocation.stopLocation();
if (event["latitude"] is String && event["longitude"] is String) {
latLng = BMFCoordinate(double.tryParse(event["latitude"]),
double.tryParse(event["longitude"]));
} else {
latLng = BMFCoordinate(event["latitude"], event["longitude"]);
}
aMapFlutterLocation.singleLocationCallback(callback: (BaiduLocation result) {
if (result != null &&
result.latitude != null &&
result.longitude != null) {
print("location: $result");
aMapFlutterLocation.stopLocation();
latLng = BMFCoordinate(result.latitude, result.longitude);
BMFCalculateUtils.coordConvert(
coordinate: latLng,
fromType: BMF_COORD_TYPE.COMMON,
@ -71,14 +67,12 @@ class _StoreSelectorPage extends State<StoreSelectorPage> {
.then((value) {
this.latLng = value;
saveLatLng(
value, event["province"], event["city"], event["district"]);
value, result.province, result.city, result.district);
queryStore("${value.latitude}", "${value.longitude}",
event["province"], event["city"], event["district"]);
result.province, result.city, result.district);
});
}
});
}
aMapFlutterLocation.prepareLoc({
"coorType": "bd09ll",
"isNeedAddres": false,
@ -95,7 +89,6 @@ class _StoreSelectorPage extends State<StoreSelectorPage> {
"reGeocodeTimeout": 10,
"activityType": "CLActivityTypeAutomotiveNavigation",
"BMKLocationCoordinateType": "BMKLocationCoordinateTypeBMK09LL",
"BMKLocationCoordinateType": "BMKLocationCoordinateTypeBMK09LL",
"isNeedNewVersionRgc": false,
});

24
lib/settlement/settlement_view/distribution.dart

@ -1,5 +1,7 @@
import 'package:flutter/material.dart';
import 'package:flutter_baidu_mapapi_base/flutter_baidu_mapapi_base.dart';
import 'package:flutter_baidu_mapapi_map/flutter_baidu_mapapi_map.dart';
import 'package:flutter_bmflocation/flutter_bmflocation.dart';
import 'package:flutter_smart_dialog/flutter_smart_dialog.dart';
import 'package:flutter_svg/flutter_svg.dart';
import 'package:huixiang/generated/l10n.dart';
@ -54,26 +56,16 @@ class _DistributionMode extends State<DistributionMode> {
///
void startLocation() async {
Location.getInstance()
.aMapFlutterLocation
.onResultCallback()
.listen((event) {
if (event != null &&
event["latitude"] != null &&
event["longitude"] != null) {
print("location: $event");
if (event["latitude"] is String && event["longitude"] is String) {
myLatLng = BMFCoordinate(double.tryParse(event["latitude"]),
double.tryParse(event["longitude"]));
} else {
myLatLng = BMFCoordinate(event["latitude"], event["longitude"]);
}
Location.getInstance().startLocation(context, (BaiduLocation result){
if (result != null &&
result.latitude != null &&
result.longitude != null) {
print("location: $result");
myLatLng = BMFCoordinate(result.latitude, result.longitude);
calculate();
Location.getInstance().stopLocation();
}
});
Location.getInstance().prepareLoc();
Location.getInstance().startLocation(context);
}
calculate() async {

25
lib/union/location_map_page.dart

@ -2,6 +2,7 @@ import 'dart:ui';
import 'package:flutter/material.dart';
import 'package:flutter_baidu_mapapi_base/flutter_baidu_mapapi_base.dart';
import 'package:flutter_baidu_mapapi_map/flutter_baidu_mapapi_map.dart';
import 'package:flutter_bmflocation/flutter_bmflocation.dart';
import 'package:huixiang/utils/flutter_utils.dart';
import 'package:huixiang/utils/location.dart';
import 'package:huixiang/view_widget/my_appbar.dart';
@ -26,29 +27,19 @@ class _LocationMap extends State<LocationMap> {
startLocation();
}
void startLocation() async {
Location.getInstance()
.aMapFlutterLocation
.onResultCallback()
.listen((event) {
if (event != null &&
event["latitude"] != null &&
event["longitude"] != null) {
print("location: $event");
if (event["latitude"] is String && event["longitude"] is String) {
myLatLng = BMFCoordinate(double.tryParse(event["latitude"]),
double.tryParse(event["longitude"]));
} else {
myLatLng = BMFCoordinate(event["latitude"], event["longitude"]);
}
void startLocation() {
Location.getInstance().startLocation(context, (BaiduLocation result) {
if (result != null &&
result.latitude != null &&
result.longitude != null) {
print("location: $result");
myLatLng = BMFCoordinate(result.latitude, result.longitude);
AppUtils.coordConvert(myLatLng).then((value) {
this.myLatLng = value;
locationShow();
});
}
});
Location.getInstance().prepareLoc();
Location.getInstance().startLocation(context);
}
locationShow() {

34
lib/union/union_page.dart

@ -6,6 +6,7 @@ import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_baidu_mapapi_map/flutter_baidu_mapapi_map.dart';
import 'package:flutter_baidu_mapapi_utils/flutter_baidu_mapapi_utils.dart';
import 'package:flutter_bmflocation/flutter_bmflocation.dart';
import 'package:flutter_easyloading/flutter_easyloading.dart';
import 'package:huixiang/generated/l10n.dart';
import 'package:huixiang/main.dart';
@ -130,20 +131,12 @@ class UnionPageState extends State<UnionPage>
startLocation(bool isOnRefresh) async {
if (!isOnRefresh) EasyLoading.show(status: S.current.zhengzaijiazai);
Location.getInstance()
.aMapFlutterLocation
.onResultCallback()
.listen((event) {
if (event != null &&
event["latitude"] != null &&
event["longitude"] != null) {
print("location: $event");
if (event["latitude"] is String && event["longitude"] is String) {
latLng = BMFCoordinate(double.tryParse(event["latitude"]),
double.tryParse(event["longitude"]));
} else {
latLng = BMFCoordinate(event["latitude"], event["longitude"]);
}
Location.getInstance().startLocation(context, (BaiduLocation result) {
if (result != null &&
result.latitude != null &&
result.longitude != null) {
print("location: $result");
latLng = BMFCoordinate(result.latitude, result.longitude);
BMFCalculateUtils.coordConvert(
coordinate: latLng,
fromType: BMF_COORD_TYPE.BD09LL,
@ -151,16 +144,16 @@ class UnionPageState extends State<UnionPage>
.then((value) {
this.latLng = value;
saveLatLng(
value, event["province"], event["city"], event["district"]);
value, result.province, result.city, result.district);
print("union: Location result ${value.latitude} "
"${value.longitude}");
Location.getInstance().stopLocation();
queryStore(
"${value.latitude}",
"${value.longitude}",
event["province"],
event["city"],
event["district"],
result.province,
result.city,
result.district,
"",
-1);
if (_mapController != null)
@ -173,10 +166,7 @@ class UnionPageState extends State<UnionPage>
getLatLng();
// EasyLoading.dismiss();
}
});
Location.getInstance().prepareLoc();
Location.getInstance().startLocation(context).then((value) {
}).then((value) {
if (!value) {
EasyLoading.dismiss();
tabRefresh().refreshFailed();

99
lib/utils/location.dart

@ -2,11 +2,64 @@ import 'dart:io';
import 'package:android_intent_plus/android_intent.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter_bmflocation/bdmap_location_flutter_plugin.dart';
import 'package:flutter_bmflocation/flutter_bmflocation.dart';
import 'package:huixiang/generated/l10n.dart';
import 'package:huixiang/view_widget/request_permission.dart';
import 'package:permission_handler/permission_handler.dart';
BaiduLocationAndroidOption initAndroidOptions() {
BaiduLocationAndroidOption options = BaiduLocationAndroidOption(
//
locationMode: BMFLocationMode.hightAccuracy,
//
isNeedAddress: true,
//
isNeedAltitude: false,
// poi信息
isNeedLocationPoiList: false,
// rgc信息
isNeedNewVersionRgc: false,
//
isNeedLocationDescribe: true,
// 使gps
openGps: true,
//
locationPurpose: BMFLocationPurpose.signIn,
//
coordType: BMFLocationCoordType.bd09ll,
// int类型ms
// 00
scanspan: 0);
return options;
}
BaiduLocationIOSOption initIOSOptions() {
BaiduLocationIOSOption options = BaiduLocationIOSOption(
//
coordType: BMFLocationCoordType.bd09ll,
//
locationTimeout: 10,
//
reGeocodeTimeout: 10,
// automotiveNavigation
activityType: BMFActivityType.automotiveNavigation,
// best
desiredAccuracy: BMFDesiredAccuracy.best,
// rgc数据
isNeedNewVersionRgc: false,
//
pausesLocationUpdatesAutomatically: false,
// ,
//
allowsBackgroundLocationUpdates: false,
//
distanceFilter: 10,
);
return options;
}
class Location {
static Location _instance;
@ -23,37 +76,27 @@ class Location {
LocationFlutterPlugin aMapFlutterLocation;
prepareLoc() {
aMapFlutterLocation.prepareLoc({
"coorType": "bd09ll",
"isNeedAddres": false,
"isNeedAltitude": false,
"isNeedLocationPoiList": false,
"isNeedLocationDescribe": false,
"isNeedNewVersionRgc": false,
"scanspan": 0,
"openGps": true,
"locationMode": 2,
}, {
"locationMode": "kCLLocationAccuracyBest",
"locationTimeout": 10,
"reGeocodeTimeout": 10,
"activityType": "CLActivityTypeAutomotiveNavigation",
"BMKLocationCoordinateType": "BMKLocationCoordinateTypeBMK09LL",
"isNeedNewVersionRgc": false,
});
}
Future<bool> startLocation(context) async {
Future<bool> startLocation(context, Function(BaiduLocation result) locationCallback) async {
aMapFlutterLocation.prepareLoc(initAndroidOptions().getMap(), initIOSOptions().getMap());
if (!(await Permission.locationWhenInUse.serviceStatus.isEnabled)) {
enableLocation(context);
return false;
}
if (await Permission.location.isPermanentlyDenied) {
requestDialog(context);
requestDialog(context, locationCallback);
return false;
} else if (await Permission.location.isGranted) {
aMapFlutterLocation.startLocation();
aMapFlutterLocation.singleLocationCallback(callback: (BaiduLocation result) {
locationCallback.call(result);
});
if (Platform.isIOS) {
await aMapFlutterLocation.singleLocation({
'isReGeocode': true,
'isNetworkState': true,
});
} else if (Platform.isAndroid) {
await aMapFlutterLocation.startLocation();
}
return true;
} else if (await Permission.location.isUndetermined) {
await Permission.location.request();
@ -61,7 +104,7 @@ class Location {
} else {
if (Platform.isIOS) {
//
requestDialog(context);
requestDialog(context, locationCallback);
} else {
await Permission.location.request();
}
@ -97,7 +140,7 @@ class Location {
);
}
requestDialog(context) {
requestDialog(context, Function(BaiduLocation result) locationCallback) {
showCupertinoDialog(
context: context,
builder: (context) {
@ -110,7 +153,7 @@ class Location {
if (result) {
await openAppSettings();
if (await Permission.location.isGranted) {
startLocation(context);
startLocation(context, locationCallback);
}
}
},

33
pubspec.lock

@ -92,20 +92,6 @@ packages:
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.16.0"
convert:
dependency: transitive
description:
name: convert
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.1.1"
crypto:
dependency: transitive
description:
name: crypto
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.1.5"
csslib:
dependency: transitive
description:
@ -173,35 +159,35 @@ packages:
name: flutter_baidu_mapapi_base
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.0.1"
version: "3.2.0"
flutter_baidu_mapapi_map:
dependency: "direct main"
description:
name: flutter_baidu_mapapi_map
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.0.1"
version: "3.2.1"
flutter_baidu_mapapi_search:
dependency: "direct main"
description:
name: flutter_baidu_mapapi_search
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.0.1"
version: "3.2.0"
flutter_baidu_mapapi_utils:
dependency: "direct main"
description:
name: flutter_baidu_mapapi_utils
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.0.1"
version: "3.2.0"
flutter_bmflocation:
dependency: "direct main"
description:
name: flutter_bmflocation
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.0.4"
version: "3.2.1"
flutter_easyloading:
dependency: "direct main"
description:
@ -248,7 +234,7 @@ packages:
name: flutter_plugin_android_lifecycle
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.0.11"
version: "2.0.7"
flutter_screenutil:
dependency: "direct main"
description:
@ -819,13 +805,6 @@ packages:
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.0.1+3"
uuid:
dependency: transitive
description:
name: uuid
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.2.2"
vector_math:
dependency: transitive
description:

10
pubspec.yaml

@ -37,11 +37,11 @@ dependencies:
permission_handler: ^5.0.1+1
flutter_bmflocation: ^1.0.3
flutter_baidu_mapapi_base: ^2.0.1
flutter_baidu_mapapi_map: ^2.0.1
flutter_baidu_mapapi_search: ^2.0.1
flutter_baidu_mapapi_utils: ^2.0.1
flutter_bmflocation: ^3.2.1
flutter_baidu_mapapi_base: ^3.2.0
flutter_baidu_mapapi_map: ^3.2.1
flutter_baidu_mapapi_search: ^3.2.0
flutter_baidu_mapapi_utils: ^3.2.0
dio: ^3.0.10
rxdart: ^0.26.0

Loading…
Cancel
Save