I have just cloned a Flutter project that was made about 2 years ago. I want to check what version of flutter was used to create this project.
I want to migrate it to the latest version which is 2.2.
Thank you.
I have just cloned a Flutter project that was made about 2 years ago. I want to check what version of flutter was used to create this project.
I want to migrate it to the latest version which is 2.2.
Thank you.
pubspec.lock file, then you can check the version of every package including flutter in it.pubspec.yaml, so it might or might not be there.I don't think there is another way to check flutter version of a project. You might have to ask the project owner if none of the above solution works.
sdks:
dart: ">=2.10.2 <2.11.0"
flutter: ">=1.22.2 <2.0.0"
so if dart version is >=2.10.2 <2.11.0 u can use flutter >=1.22.2 <2.0.0