Having problems with the latest Flutter version? Here is how you downgrade!

Having iussues with the latest stable, beta or alpha version of Flutter? Maybe your packages aren't ready for the latest and greatest? No worries, one simple command will take your backwards in time.

Thanks to the flutter downgrade-commmand, it's easy to jump back to the previous Flutter version. And it even works on the various channels. So if you're on stable and downgrade, it will jump back to the previous stable version.

$ flutter downgrade
Downgrade flutter to version 1.22.6
? [y|n]: y

Success

$ flutter --version
Flutter 1.22.6 • channel stable • https://github.com/flutter/flutter.git

Particularly useful now, when Flutter 2 just dropped - but all packages might not be fully compatible yet.

1 month ago
DOWNGRADE FLUTTER FLUTTER2
SHARE: