Downgrade flutter version to avoid null-safety

Viewed 4172

How can I downgrade the my version of flutter to avoid the null-safety?? I updated and this feature appears but Im using some packages like Badges and https that arent updated for null-safety and Im gettin several bugs to run my code.

My pubspec: environment: sdk: ">=2.7.0 <3.0.0"

Thanks!!

1 Answers

In the command line you can downgrade your flutter version with:

  • flutter downgrade v1.22.6

This will downgrade your version to the 1.22.6

Related