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 you add a Flutter SDK in VS Code?
Start VS Code. Invoke View > Command Palette…. Type “install”, and select Extensions: Install Extensions. Type “flutter” in the extensions search field, select Flutter in the list, and click Install .
Read more