Kurr0
Kurr0

Reputation: 197

Downgrade flutter version to avoid null-safety

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!!

Upvotes: 2

Views: 6071

Answers (1)

Ayad
Ayad

Reputation: 691

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

Upvotes: 3

Related Questions