Target of URI doesn't exist:'package:http/http.dart'
记录一下,学习flutter出现的问题,提示:找不到package:http/http.dart需要在项目根目录下的文件pubspec.yaml中注册依赖: dependencies: http: ^0.11.0 // --加入这行 flutter: sdk: flutter 参考:https://blog.csdn.net/dreamfine/article/details/83859915Android studio flutter初学...
原创
2020-05-14 09:26:27 ·
1491 阅读 ·
0 评论