引入依赖之后,点击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.

相关文章: