Flutter Version Management

Flutter Version Management

Motivation to Use FVM
Imagine You are stuck in this scenario, You have some version of flutter say X installed on your local machine. You clone some repository from GitHub. You try to run the repo but guess what X does not support. You go to the terminal and upgrade flutter to some version Y. Your project works fine but now Y throws error to some previous projects you were working on. The naive approach would be to keep upgrading and downgrading the flutter version. But guess what FVM solves all these issues for you. It is indeed a blessing in disguise.

Benefits
With the help of fvm you can have separate flutter version for each project. It also allows you to have multiple Flutter versions installed to quickly validate and test upcoming Flutter releases with your apps without waiting for Flutter installation every time.

Resources

A very detailed guide is provided in the video below

Official Decumentation

1 Like