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 force my flutter to update?
This is how I solved it,
Read moreHow do you force a flutter to upgrade?
This is how I solved it,
Read moreHow do I update Flutter SDK to latest version?
Upgrading the Flutter SDK This command gets the most recent version of the Flutter SDK that’s available on your current Flutter channel. If you want an even more recent version of the Flutter SDK, switch to a less stable Flutter channel and then run flutter upgrade .
Read more