其他分享
首页 > 其他分享> > flutter项目添加资源报错:Expected a key while parsing a block mapping.

flutter项目添加资源报错:Expected a key while parsing a block mapping.

作者:互联网

目的:向flutter项目添加图片资源

错误:如图

 解决方案:删除assets前的空格,使之与uses-material-design: true对齐,解决如图

 

参考链接:https://imgur.com/gallery/ngoXwUe

标签:mapping,parsing,ngoXwUe,添加,报错,如图,flutter
来源: https://blog.csdn.net/yingkongshi07/article/details/118756228