Cannot run with sound null safety because dependencies don't support null safety, I have received this error while running the flutter application

I have a flutter project, migrated to null safety. After migration i ran my flutter application then it returns me this error

"Cannot run with sound null safety because dependencies don't support null safety"

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

 - package:sticky_headers

 

For solutions, see https://dart.dev/go/unsound-null-safety
Unhandled exception:

 

I have read here how to resolve this error https://dart.dev/null-safety/unsound-null-safety

and i have run the application with below command

flutter run --no-sound-null-safety

 

 

Then it working proper


Subscribe For Daily Updates

Flutter Questions
Android Questions