I have an old version of flutter. I would like to update the version but not to the latest. I tried the command
flutter upgrade
and then
flutter downgrade 3.3.1
but it only returns me to the version I had previously and not to an intermediate version between my old one and the latest version available.
What can I do?
Thank you.
CodePudding user response:
To downgrade to a specific version of Flutter, you can use the following command:
flutter upgrade --force-downgrade -v enter your version here
Replace with the version number you want to downgrade to (e.g., 3.1.1). The --force-downgrade option is necessary as it allows you to downgrade to a previous version of Flutter.