fvm icon indicating copy to clipboard operation
fvm copied to clipboard

Dart Version management improvements

Open leoafarias opened this issue 1 year ago • 1 comments

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 https://github.com/leoafarias/fvm/discussions/532

leoafarias avatar Feb 23 '24 18:02 leoafarias

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

colonelpopcorn avatar May 21 '24 22:05 colonelpopcorn