3 Steps using Flutter multiple versions in VS code.

1. First step,

https://docs.flutter.dev/get-started/install/macos
Extract zip file and rename to “flutter3”

2. Second step,

  • Go to .zshrc file in Home (cmd + shift + H) and put this command inside (don’t forget to change location path to be correct one)>
alias flutter3="/Users/atthana/development/flutter3/bin/flutter"

3. Last step,

  • Open VS code.
  • Open file settings.json from this path.
https://riptutorial.com/visual-studio-code/learn/100008/user-and-workspace-settings
  • Then add flutterSdkPaths into file like this.
Add “location of flutter3 folder” into settings.json

FINISH !

call “flutter3 — version” to check version.

If you think it’s useful for you, just clap your hands 👏 to be encouraged me.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Grassroot Engineer

Grassroot Engineer

ATM engineer who is interested in CODING and believe in EFFORT. — https://atthana.github.io/homepage/