Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VSCode: Quickly switch between flutter versions

Tags:

flutter

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. enter image description here

Any suggestion please?

like image 679
bandungeuy Avatar asked Oct 24 '25 02:10

bandungeuy


1 Answers

I’ve found the answer:

  1. Open workspace setting with CMD + SHFT + P, I choose not JSON version
  2. Search for “SDK”
  3. Add item with both of flutter version (mine: /User/me/flutter and /User/me/flutter-master) enter image description here

And voila! I can choose other versions enter image description here

like image 89
bandungeuy Avatar answered Oct 25 '25 19:10

bandungeuy



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!