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

dependency doesn't support null safety #53

Closed
ibrahimxcool opened this issue Jul 30, 2021 · 4 comments
Closed

dependency doesn't support null safety #53

ibrahimxcool opened this issue Jul 30, 2021 · 4 comments

Comments

@ibrahimxcool
Copy link

ibrahimxcool commented Jul 30, 2021

Error: Cannot run with sound null safety, because the following dependencies
don't support null safety:

- package:sticky_headers
@DeD1rk
Copy link

DeD1rk commented Aug 6, 2021

Please add some additional context, such as version numbers and the output from flutter doctor. Sticky headers version 0.2.0 does support null safety, so you'll probably want to specify sticky_headers: ^0.2.0 in your pubspec.yaml.

@tusharkhatriofficial
Copy link

run your app with
flutter run --no-sound-null-safety
and build with
flutter build apk --release --no-sound-null-safety
and If you are using Android studio then go to configuration and add --no-sound-null-safety in additional run args

@tusharkhatriofficial
Copy link

Or if you don't want to do this then just remove this dependency and add only those dependencies which support null safety.

@slightfoot
Copy link
Member

The package is now null-safe as of 0.2.0. Closing.

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

4 participants