引入依赖之后,点击Pub get报错
Flutter添加依赖报错: A dependency may only have one source.
分析原因:使我们添加依赖时放的位置不对。
The following adds the Cupertino Icons font to your application
你的依赖应该跟随在cupertino_icons的后面去,如下图所示Flutter添加依赖报错: A dependency may only have one source.

相关文章:

  • 2022-01-09
  • 2022-12-23
  • 2021-07-29
  • 2021-08-03
  • 2021-06-01
  • 2021-06-03
  • 2021-09-07
  • 2021-08-13
猜你喜欢
  • 2022-12-23
  • 2021-10-15
  • 2021-10-22
  • 2021-07-01
  • 2022-12-23
  • 2021-07-09
  • 2022-12-23
相关资源
相似解决方案