Separate pub root preference logic, from lifecycle
Ouverte
P3
tech debt
- Langage dominant
- Dart
- Étoiles
- 1.7k
- Forks
- 404
- Merge moyen
- 6 j 17 h
- PR mergées (30 j)
- 18
Description
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.
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.