fix(connectivity_plus): correct minimum Flutter version to match Dart SDK constraint#3877
Closed
rumitvn wants to merge 1 commit into
Closed
fix(connectivity_plus): correct minimum Flutter version to match Dart SDK constraint#3877rumitvn wants to merge 1 commit into
rumitvn wants to merge 1 commit into
Conversation
… SDK constraint The package requires Dart >=3.2.0, which first shipped with Flutter 3.16.0, but declared flutter: >=3.7.0 (Flutter 3.7 ships Dart 2.19). Pinning the documented minimum Flutter version therefore fails the SDK constraint. Bump the Flutter floor to 3.16.0 to match reality.
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.
While testing the local build environment for
connectivity_plusI hit the same mismatch reported in #3866. The package declares:But Dart 3.2.0 first shipped with Flutter 3.16.0 — Flutter 3.7.0 bundles Dart 2.19. So pinning the documented minimum Flutter version fails the SDK constraint:
This bumps the Flutter floor to
3.16.0so it matches the Dart SDK constraint that is already required. No real configuration is dropped: there is no Flutter release between 3.7 and 3.16 that ships Dart >=3.2, so nobody could actually build against the old floor anyway. I also updated the stale comment (it referenced the long-satisfiedsharedDarwinSource3.7 requirement).Scoped to
connectivity_plus, which is the package the issue demonstrates and the only one whose stated Flutter floor admits a real release that violates its Dart constraint — the sibling packages already pair their floors correctly. Per CONTRIBUTING I left the version and CHANGELOG for the maintainers.Closes #3866