Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use a different flutter version on a specific project

Tags:

flutter

I have some of my flutter project that depends on flutter 2.10 and I have some that depends on flutter > 3.0. So if I want to work on any of my project depending on flutter > 3.0, I have to run flutter upgrade, vice versa for running project depending on flutter 2.10, I have to run flutter downgrade.

Is there a better way for me to use different version for a specific project?

like image 961
Bilal Sloni Avatar asked Oct 18 '25 09:10

Bilal Sloni


1 Answers

You'll want the "flutter version management" for this: https://fvm.app. That'll let you download nearly any previous and current flutter release, and associate them on a project-by-project basis. It's quite robust and production-worthy.

like image 116
Randal Schwartz Avatar answered Oct 20 '25 17:10

Randal Schwartz