'How do I see previously installed versions of Flutter?

I updated flutter, and it screwed everything up. There's lots of info out there on how to downgrade, but I'm not sure what I need to downgrade to.



Solution 1:[1]

in your pubspec.yaml file, search for below line. your number might be different.

environment:
  sdk: ">=2.16.0 <3.0.0"

the first number is your Dart version when you created your project if you didn't change it. for exp my dart version is 2.16.0.

Go to Flutter release notes page. go to announcement of every flutter version and see which flutter version use your Dart version.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Hadi