flutter / flutter/devtools

Separate pub root preference logic, from lifecycle

Aperta
#4,342 0 commenti 0 reazioni 1 assegnatario Rivendicata da @CoderDake Vedi su GitHub
P3 tech debt
Lingua principale
Dart
Stelle
1.7k
Fork
404
Merge medio
6g 17h
PR unite (30g)
18

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.