flutter / flutter/devtools

Separate pub root preference logic, from lifecycle

Open
#4,342 0 comments 0 reactions 1 assignee Claimed by @CoderDake View on GitHub
P3 tech debt
Dominant language
Dart
Stars
1.7k
Forks
404
Avg merge
6d 17h
Merged PRs (30d)
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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.