Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio: How to update Dart SDK constraints?

Tags:

flutter

dart

The screenshot shows a way to do that:

enter image description here

But even after clicking it multiple times, restarting Android Studio, I am not able to change it. How can I change it?


1 Answers

Open pubspec.yaml file and change it.

environment:
  sdk: ">=2.2.2 <3.0.0"

Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!