Intellij idea 在pubspec.yaml中导入geoloaction包时出错

Intellij idea 在pubspec.yaml中导入geoloaction包时出错,intellij-idea,dart,flutter,Intellij Idea,Dart,Flutter,如何解决在pubspec.yaml中导入geoloaction包时出现的错误?? 当前Dart SDK版本为2.1.0-dev.5.0.flatter-a2eb050044 因为untitled67取决于地理位置,任何需要SDK版本的软件都会显示一个红色徽章,告诉您它与Dart 2不兼容 最近的颤振版本依赖于Dart 2 另见 特别是 geolocation: git: url: 'https://github.com/shehabic/geolocation'

如何解决在pubspec.yaml中导入geoloaction包时出现的错误?? 当前Dart SDK版本为2.1.0-dev.5.0.flatter-a2eb050044

因为untitled67取决于地理位置,任何需要SDK版本的软件都会显示一个红色徽章,告诉您它与Dart 2不兼容

最近的颤振版本依赖于Dart 2

另见

特别是

geolocation:
  git:
    url: 'https://github.com/shehabic/geolocation'