Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add flutter version constraint #1376

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

huyenltnguyen
Copy link
Member

Checklist:

I'm using Flutter 3.29 while we are currently using 3.27 in the build process. So I thought we probably should set a constraint and devs would get an error if they use an out-of-range version.

There is a mechanism to set this, but there is currently a bug (flutter/flutter#95472) that makes the project not respect the specified version. (Well, sort of, if does error out if devs use a version lower than the one specified, but still allows a higher version).

This is probably a pointless PR, but I guess we could have this set on our end and hope/wait for the Flutter team to fix the issue?

Ref: https://dart.dev/tools/pub/pubspec#flutter-sdk-constraints

sdk: ">=3.0.0 <4.0.0"
# Flutter SDK
flutter: "3.27.4"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Grabbed the version from:

flutter: 3.27.4

@huyenltnguyen huyenltnguyen marked this pull request as ready for review April 7, 2025 10:50
@huyenltnguyen huyenltnguyen requested a review from a team as a code owner April 7, 2025 10: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