Separate pub root preference logic, from lifecycle
未关闭
P3
tech debt
- 主要语言
- Dart
- 星标
- 1.7k
- 派生
- 404
- 平均合并
- 6 天 17 小时
- 30 天内合并 PR
- 18
描述
The custom pub root directory code in https://github.com/flutter/devtools/blob/master/packages/devtools_app/lib/src/shared/preferences.dart
Is tightly coupled with lifecycle triggers from the servicemanager, and isolate managers.
To make the code cleaner, and more testable, separate the lifecycle logic from the preference logic. This may require moving the custom pub root directory code to a separate class and then triggering the logic in those lifecycle triggers.
贡献指南
评估
这个 Issue 还没有评估数据。