Dart: Target of URI doesn't exist: 'pachage:http/http.dart'

1、需要在 pubspec.yaml 中引入 http: ^0.12.0

http: ^0.12.0

2、在终端执行命令  flutter packages upgrade  

flutter packages upgrade

 

posted @ 2020-06-24 14:11  晨光微  阅读(337)  评论(0编辑  收藏  举报