在 assets/ 目录下新建 svg/ 目录. 将项目中用到的 svg 放到 assets/svg/ 目录下. 修改 pubspec.yaml 文件,添加 svg 目录. # ... flutter: # ... assets: ...
確定! 回上一頁