|
|
10 月之前 | |
|---|---|---|
| lib | 10 月之前 | |
| .gitignore | 10 月之前 | |
| .metadata | 10 月之前 | |
| CHANGELOG.md | 10 月之前 | |
| LICENSE | 10 月之前 | |
| README.md | 10 月之前 | |
| analysis_options.yaml | 10 月之前 | |
| build.yaml | 10 月之前 | |
| pubspec.yaml | 10 月之前 |
# 用于将 `string.xml` 自动转换为 `string.gen.dart`
## 配置
### 输入输出配置
可不配置,默认如下:
```yaml
flutter_string_get:
input: assets/string/base/*.xml # 输入目录
output: lib/resource/string.gen.dart # 输出文件
dart run build_runner clean
在 watch 时使用以下命令,冲突时自动删除:
dart run build_runner watch --delete-conflicting-outputs