我无法从我的pubspec.yaml中访问和读取任何文件,我尝试了flutter不工作,我所有的lib文件夹都可以访问材料ui、google字体或我安装在pubspec.yaml 在这里输入图像描述中的任何包。
发布于 2022-03-05 04:53:13
在设置中,执行Invalidate Cache and Restart,然后检查您的pubspec.yaml文件是否正在打开。
Invalidate Cache and Restart
https://stackoverflow.com/questions/71359357
相似问题