Skip to content

chore: raise flutter_cache_manager SDK floor to Dart 3.12 / Flutter 3.44 - #551

Open
rickdijk wants to merge 2 commits into
Baseflow:mainfrom
rickdijk:rick/fpl-51-sdk-3-12-flutter_cache_manager
Open

rickdijk wants to merge 2 commits into
Baseflow:mainfrom
rickdijk:rick/fpl-51-sdk-3-12-flutter_cache_manager

Conversation

@rickdijk

Copy link
Copy Markdown
Contributor

✨ What kind of change does this PR introduce? (Bug fix, feature, docs update...)

Maintenance: raises the SDK floor of flutter_cache_manager.

⤵️ What is the current behavior?

flutter_cache_manager and its example declare sdk: '>=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.0 and flutter: ">=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_formals lint flags CacheObjectProvider's constructor, so it now uses the private named initializing formal this._path. The public named parameter is still path.

💥 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) and flutter test (146 passed) on both; flutter pub downgrade + flutter analyze on 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

  • All projects build
  • Follows style guide lines (code style guide)
  • Relevant documentation was updated
  • Rebased onto current main
  • Version bumped and dated CHANGELOG entry added

🤖 Generated with Claude Code

rickdijk and others added 2 commits November 30, 2026 16:33
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
rickdijk marked this pull request as ready for review November 30, 2026 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant