diff --git a/README.md b/README.md index be4b70f..817c16d 100644 --- a/README.md +++ b/README.md @@ -2,22 +2,33 @@ A new Flutter application. -## Getting Started -### 使用grind命令构建页面(使用以下代码全局启用构建器) -```flutter pub global activate grinder``` -或使用 -```flutter pub run grinder``` +## 使用以下命令生成运行所必需文件 -### 使用`fgen`生成图片路径 +###生成图片路径(fgen) 使用以下代码全局启用构建器 - -```flutter pub global activate global activate flutter_asset_generator``` - +```shell + flutter pub global activate global activate flutter_asset_generator +``` 或使用 -```flutter pub run flutter_asset_generator:resource_generator``` - +```shell +flutter pub run flutter_asset_generator:resource_generator + +``` +###生成model.g.dart +```shell +flutter pub run build_runner build +``` +## 启用脚本命令(grind) +使用以下代码全局启用构建器 +```shell +flutter pub global activate grinder +``` +或使用 +```shell +flutter pub run grinder +``` +命令列表见```/tool/grind.dart``` ### password password `1Xpn6hhbxztA6PC0oFiZ` -### 需要重构应用页面