如何在pubspec.yaml中导入geoloaction包时解决错误?当前的Dart SDK版本是2.1.0-dev.5.0.flutter-a2eb050044 .
因为无 Headers 67取决于任何需要SDK版本<2.0.0的地理位置,版本解决失败 .
https://pub.dartlang.org/packages/geolocation显示一个红色徽章,告诉您它与Dart 2不兼容 .
最近的Flutter版本取决于Dart 2
另见https://github.com/loup-v/geolocation/issues/44
特别https://github.com/loup-v/geolocation/issues/44#issuecomment-431572295
地理位置:混帐:网址:'https://github.com/shehabic/geolocation'
1 回答
https://pub.dartlang.org/packages/geolocation显示一个红色徽章,告诉您它与Dart 2不兼容 .
最近的Flutter版本取决于Dart 2
另见https://github.com/loup-v/geolocation/issues/44
特别https://github.com/loup-v/geolocation/issues/44#issuecomment-431572295