Loading...
Loading...
Compare original and translation side by side
cat docs/plans/YYYY-MM-DD-<feature>-plan.mdcat pubspec.yamlflutter pub getcat docs/plans/YYYY-MM-DD-<feature>-plan.mdcat pubspec.yamlflutter pub getflutter analyze lib/features/<feature>/git add <files>
git commit -m "<conventional commit message>"flutter analyze lib/features/<feature>/git add <files>
git commit -m "<conventional commit message>"undefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedflutter analyze
flutter test
flutter build apk --debug # or iosflutter-craft:flutter-finishingflutter analyze
flutter test
flutter build apk --debug # 或iOS版本flutter-craft:flutter-finishing| Stage | Command | Expected Output |
|---|---|---|
| Per-file | | No issues found |
| Per-batch | | No issues found |
| Test | | All tests passed |
| Final | | Built successfully |
| 阶段 | 命令 | 预期输出 |
|---|---|---|
| 单文件 | | 未发现任何问题 |
| 批次 | | 未发现任何问题 |
| 测试 | | 所有测试通过 |
| 最终 | | 构建成功 |
flutter analyzeflutter analyze1. Domain Layer tasks first
├── Entities
├── Repository interfaces
└── UseCases
2. Data Layer tasks second
├── Models
├── DataSources
└── Repository implementations
3. Presentation Layer tasks third
├── State Management
├── Widgets
└── Screens
4. Test tasks after implementation
├── Repository tests (priority 1)
├── State tests (priority 2)
└── Widget tests (priority 3)1. 首先执行领域层(Domain Layer)任务
├── 实体(Entities)
├── 仓库接口(Repository interfaces)
└── 用例(UseCases)
2. 其次执行数据层(Data Layer)任务
├── 模型(Models)
├── 数据源(DataSources)
└── 仓库实现(Repository implementations)
3. 最后执行表示层(Presentation Layer)任务
├── 状态管理
├── 组件(Widgets)
└── 页面(Screens)
4. 实现完成后执行测试任务
├── 仓库测试(优先级1)
├── 状态测试(优先级2)
└── 组件测试(优先级3)