Repository navigation
Conversation
Linear: FPL-51 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Dart 3.12 allows private named initializing formals, so the prefer_initializing_formals lint now flags the initializer list. The public named parameter stays `path`. Linear: FPL-51 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
rickdijk
marked this pull request as ready for review
November 30, 2026 08:50
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
✨ What kind of change does this PR introduce? (Bug fix, feature, docs update...)
Maintenance: raises the SDK floor of
flutter_cache_manager.flutter_cache_managerand its example declaresdk: '>=3.8.0 <4.0.0'and no Flutter bound.🆕 What is the new behavior (if this is a feature change)?
Both declare
sdk: ^3.12.0andflutter: ">=3.44.0", in line with Baseflow's decision to match the Flutter team's own packages. Version 3.5.0 → 3.6.0 with a CHANGELOG entry. Dependency constraints are unchanged.Under language version 3.12 the
prefer_initializing_formalslint flagsCacheObjectProvider's constructor, so it now uses the private named initializing formalthis._path. The public named parameter is stillpath.💥 Does this PR introduce a breaking change?
No. Apps on Dart < 3.12 or Flutter < 3.44 keep resolving 3.5.x.
🐛 Recommendations for testing
Ran locally with Flutter 3.44.9 and stable 3.47.4:
dart format --set-exit-if-changed .,flutter analyze(no issues) andflutter test(146 passed) on both;flutter pub downgrade+flutter analyzeon 3.44.9 is clean too. Check the CI quality and example build jobs.📝 Links to relevant issues/docs
Linear: FPL-51
🤔 Checklist before submitting
🤖 Generated with Claude Code