very_good_cli icon indicating copy to clipboard operation
very_good_cli copied to clipboard

fix: Check versions before generating new projects

Open definitelyokay opened this issue 2 years ago • 2 comments

Description

Whenever I am globally using an older version of Flutter which is no longer supported by the CLI tool (using FVM), it is able to generate the project but fails to install packages. It'd be really nice if VG CLI would check to see if the current flutter/sdk version is high enough before generating a package to prevent it from having to stop in the middle of the process.

definitelyokay avatar Feb 11 '22 17:02 definitelyokay

I agree - having the same issue.

onalenna-monare avatar Jun 13 '22 10:06 onalenna-monare

Would it be possible to add an option to specify the version of flutter when creating the app? At the end of the day dart fix should be able to handle the changes between versions. :)

jdebecka avatar Jul 07 '22 08:07 jdebecka

After discussing this we've decided not to move forward with this because it will introduce a lot of complexity and instead we've removed the strict flutter version constraint in our templates.

Closing for now but feel free to comment with additional questions.

felangel avatar Feb 21 '23 19:02 felangel