You can use the git branch command to see the list of available branches. Each version has its own branch, so you can just checkout to a specific version using git checkout {branchName} command . For example, to change the version to 1.22.
Read moreHow do you use two versions of flutter?
Add path to flutter sdks as below:
Read moreHow do I get multiple flutter versions?
Add path to flutter sdks as below:
Read moreHow do I switch to older version of flutter?
Show activity on this post.
Read moreHow do I switch to a specific version of a flutter?
There are several ways to upgrade or downgrade the Flutter SDK version. It can be done by changing the git branch of the Flutter SDK repository, changing the channel, or downloading a specific version from their website . To upgrade to the latest version, you can use the flutter upgrade command.
Read more