We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34686f7 commit eabb590Copy full SHA for eabb590
readme/Flutter的需要与原生交互的一些常用库.md
@@ -22,7 +22,7 @@ dependencies:
22
23
## 根据pubspec.yaml中设置的目录模板自动向其中添加文件记录的脚本 `asset_generator`
24
25
-好多人都说
+好多人都说Flutter中的资源引用很头疼,手写很麻烦,最近找到了一个脚本刚好卡呀解决这个问题。
26
27
**这个脚本的作用:利用`asset_generator`脚本生成r.dart 资源文件,方便在代码中引用资源。**
28
@@ -35,6 +35,8 @@ github地址: https://github.com/flutter-dev/asset_generator
35
2.找到自己Flutter的安装目录,将脚本放在Flutter的根目录下。
36
```
37
38
+#### 另外关于pubspec.yaml文件,它很严格,很多人会写错,多一个或者少一个空格都会报错。刚好我找到了一个在线监测工具https://www.bejson.com/validators/yaml/ 把你的yaml文件复制进去 就可以自动帮你找出错误了。
39
+
40
----
41
42
## 常用开源包:
0 commit comments