Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The lower bound of "sdk: '>=2.1.0 <3.0.0'" must be 2.12.0' or higher to enable null safety. The current Dart SDK (3.0.5) only supports null safety. For details, see https://dart.dev/null-safety #58

Open
IsmailHossain70 opened this issue Jul 7, 2023 · 4 comments

Comments

@IsmailHossain70
Copy link

I cloned the git repository from Android Studio and updated my dependencies with pub get and got this error

@kiraism
Copy link

kiraism commented Jul 15, 2023

Did you solve this problem?

@shashikrs
Copy link

Here is a solution: https://stackoverflow.com/questions/76350849/enable-null-safety-in-flutter. In short you need to upgrade your environment and dependencies version.

@pantha704
Copy link

pantha704 commented Jul 24, 2023

i just created a new flutter project and added the extra folders ( images and main.dart ) from here and it worked..
Also update the pubspec.yaml file

@DhruvRathod1
Copy link

let me try i have same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants