pub 失败:因为 flutter_google_places >=0.2.5 取决于 rxdart ^0.24.0 on rxdart ^0.23.1,

时间:2021-02-08 06:55:09

标签: flutter dart google-places

我正在尝试构建一个 Flutter 应用程序并想在其中使用 flutter_google_places 依赖项,但它向我显示了以下错误:

Because flutter_google_places >=0.2.5 depends on rxdart ^0.24.0 and flutter_google_places >=0.2.4 <0.2.5 depends on rxdart ^0.23.1, flutter_google_places >=0.2.4 requires rxdart ^0.23.1 or ^0.24.0.

有人可以帮我吗?

1 个答案:

答案 0 :(得分:0)

您可以升级 rxDart 软件包。

rxdart: ^0.25.0

或者,将 flutter_google_places 软件包降级到 0.2.4。

flutter_google_places: ^0.2.4