调用
flutter packages get
命令后出现下面的报错
Could not find a file named "xxx/pubspec.yaml" in xxx.git xxx.
pub get failed (1)
复制代码
删除
flutter/.pub-cache
文件夹
然后运行
flutter packages get
就可以了