'VSCode: Quickly switch between flutter versions
So, I’m using flutter version 2.2.3 and can’t upgrade right now. But, my other project need higher SDK. I know, there is FVM. But I found this: How to use two version of flutter on same device for different projects? and cite the article: https://dartcode.org/docs/quickly-switching-between-sdk-versions/
The article said, we can quickly switch flutter version via clickable status bar after applied git worktree. But, in my VSCode, flutter version not clickable. 
Any suggestion please?
Solution 1:[1]
if you are using vs code you can click ctrl+shift+p or command+shift+p
and search for "select SDK" and select your SDK.
Solution 2:[2]
FVM is a good choice, but if you want to use built-in mechanism, you'll have to:
- Download different Flutter versions (from here)
- In VSCode set SDK paths (inside
.vscode/settings.jsonfile for single project or globally in settings):
{
"dart.sdkPaths": [
"/Users/user/flutter/stable"
"/Users/user/flutter/beta"
]
}
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Bigfoot |
| Solution 2 | olexa.le |
