Skip to content

[tool] Migrate Cache.flutterRoot static state to instance configuration - #190795

Draft
bkonyi wants to merge 27 commits into
flutter:masterfrom
bkonyi:di/25-cache-instance-refactor
Draft

[tool] Migrate Cache.flutterRoot static state to instance configuration#190795
bkonyi wants to merge 27 commits into
flutter:masterfrom
bkonyi:di/25-cache-instance-refactor

Conversation

@bkonyi

@bkonyi bkonyi commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Summary

Part 26 of the modular dependency injection migration.

Converts static Cache.flutterRoot references across flutter_tools to instance property access on Cache, ToolContext, and ToolConfiguration.

Part of #47161

@github-actions github-actions Bot added platform-ios iOS applications specifically tool Affects the "flutter" command-line tool. See also t: labels. platform-macos Building on or for macOS specifically platform-windows Building on or for Windows specifically platform-linux Building on or for Linux specifically a: desktop Running on desktop team-android Owned by Android platform team team-ios Owned by iOS platform team team-macos Owned by the macOS platform team team-windows Owned by the Windows platform team team-linux Owned by the Linux platform team labels Aug 8, 2026
@bkonyi
bkonyi force-pushed the di/25-cache-instance-refactor branch from e9a6793 to 0992eef Compare August 11, 2026 14:48
@bkonyi
bkonyi force-pushed the di/25-cache-instance-refactor branch from 0992eef to 70df66c Compare August 11, 2026 15:32
@bkonyi
bkonyi force-pushed the di/25-cache-instance-refactor branch from 70df66c to 5596034 Compare August 11, 2026 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a: desktop Running on desktop platform-ios iOS applications specifically platform-linux Building on or for Linux specifically platform-macos Building on or for macOS specifically platform-windows Building on or for Windows specifically team-android Owned by Android platform team team-ios Owned by iOS platform team team-linux Owned by the Linux platform team team-macos Owned by the macOS platform team team-windows Owned by the Windows platform team tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant