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 I change the version of my 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 moreHow do I downgrade my flutter?
4 Steps to Downgrade
Read more