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

DevOps

MOTOSHARE 🚗🏍️
Turning Idle Vehicles into Shared Rides & Earnings

From Idle to Income. From Parked to Purpose.
Earn by Sharing, Ride by Renting.
Where Owners Earn, Riders Move.
Owners Earn. Riders Move. Motoshare Connects.

With Motoshare, every parked vehicle finds a purpose. Owners earn. Renters ride.
🚀 Everyone wins.

Start Your Journey with Motoshare

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"
Code language: JavaScript (javascript)

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