flutter如何引用本地包啊?

我的版本如下

flutter 1.7.8

dart 2.4.0

我看文档说在pubspec.yaml文件的dependencies配置就好了

https://flutter.dev/docs/deve...

我也配置了,结果报错

The current Dart SDK version is 2.4.0.

Because hello_world depends on a from path which requires SDK version <2.0.0, version solving failed.
Running "flutter pub get" in hello_world...
pub get failed (1)
阅读 3.6k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题