Currently, i m using flutter 3.3.9
i want to update it to 3.7.3
Any particuler command?
Note : I don’t want to affect my current code
Need perment solution for it.
Currently, i m using flutter 3.3.9
i want to update it to 3.7.3
Any particuler command?
Note : I don’t want to affect my current code
Need perment solution for it.
2
Answers
Change channel if you are not in correct channel otherwise go to step 4
Open a terminal or command prompt on your computer.
Check the available Flutter channels by running the command
flutter channel
.This will show you the list of available channels and the current channel you are on.
Switch to the desired channel by running the command
flutter channel <channel-name>
.This is possible now with
flutter version
. In the console doflutter version
to list the versions available. Then choose a version to switch to:flutter version v3.7.3
For these cases, try to use FVM (Flutter Version Management).
For get more detail here its official website https://fvm.app/
The advantages is you can any cases you can simply go back to your previous flutter version. And also you can work different flutter project with different version