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

[Feature Request] Automatically install required version or use it #720

Open
Islam-alshiki opened this issue May 6, 2024 · 3 comments
Open
Labels
enhancement New feature or request

Comments

@Islam-alshiki
Copy link

Islam-alshiki commented May 6, 2024

Describe the solution you'd like
I would like to propose the addition of a new command that automatically checks the Flutter version required by the app itself and installs it if it does not exist.

Describe alternatives you've considered
FVM need to manually check the required Flutter version, install it

@Islam-alshiki Islam-alshiki added the enhancement New feature or request label May 6, 2024
@digoreis
Copy link
Contributor

digoreis commented Jun 4, 2024

This feature will be great to migrate the initialised project without fvm. A command setup is a good name ?

fvm setup

And this import recovery the version from pubspec.yml.

@VojtaStanek
Copy link

I would appreciate if fvm supported "zero-config setup," automatically reading the Flutter version from pubspec.yml rather than .fvmrc. For straightforward use cases, .fvmrc seems necessary solely for specifying the Flutter version, which is already present in pubspec.yml.

@digoreis
Copy link
Contributor

digoreis commented Jun 5, 2024

In this case, the most simple solution is install command has a fallback behaviour to use the Pubspec version parameter how the default version .

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

3 participants