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

Dart Version management improvements #648

Open
3 tasks
leoafarias opened this issue Feb 23, 2024 Discussed in #532 · 1 comment
Open
3 tasks

Dart Version management improvements #648

leoafarias opened this issue Feb 23, 2024 Discussed in #532 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@leoafarias
Copy link
Owner

leoafarias commented Feb 23, 2024

Certainly! Here's a revised version of the text, keeping the bullet points structure:

FVM now performs various checks for Dart SDK project constraints and dependencies to provide more informative feedback to the user. However, we have some suggestions to make this process even better.

  • It would be extremely helpful if FVM could install Flutter SDK based on a Dart SDK constraint. For example, running fvm use 2.14 --dart would install the latest version of Flutter that supports this version of Dart.
  • Also it would be great if FVM could easily run commands on the lowest and highest SDK constraint of pubspec. As a package creator, this is crucial for checking for deprecations or issues with the constraints.
  • When calling fvm dart ... if no version is configured in the project, and when falling back to PATH, it should fall back to Dart SDK configured in the Flutter SDK, and not the Dart SDK configured within the path

Discussed in #532

@leoafarias leoafarias self-assigned this Feb 23, 2024
@leoafarias leoafarias added the enhancement New feature or request label Feb 24, 2024
@colonelpopcorn
Copy link

Would it be enough to add the latest supported dart version into the table generated by fvm releases?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants