🚀 DevOps Certified Professional
📅 Starting: 1st of Every Month 🤝 +91 8409492687 | 🤝 +1 (469) 756-6329 🔍 Contact@DevOpsSchool.com

The lower bound of “sdk: ‘>=2.1.0 <3.0.0′” must be 2.12.0 or higher to enable null safety

DevOps

Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

You must update your flutter/dart version like this (in your pubspec.yaml):

In order to enable null safety, the lower bound of the SDK version should be 2.12.0 or higher. The provided requirement, “sdk: ‘>=2.1.0 <3.0.0′”, does not meet this criteria, as the minimum required version is 2.12.0. To enable null safety, you should update the SDK version to at least 2.12.0.

environment:
  sdk: ">=2.7.0 <3.0.0"


You must update your flutter/dart version like this (in your pubspec.yaml):

environment:
  sdk: ">=2.18.0"

Be prepared to make changes on your project/code due null safety

Or seek to find a lower version of that “dropdown_formfield” that can be supported by your actual flutter/dart version.

Subscribe
Notify of
guest


This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x