Reputation: 45
I have this error,
Error: Cannot run with sound null safety, because the following dependencies
don't support null safety:
- package:plugin_platform_interface
the problem is I didn't use this package and I don't have it in the dependencies or lib, so how to solve it?
Upvotes: 1
Views: 652
Reputation: 238
Add this to your pubspec.yaml file and click/ run pub get. Then try to build again!
plugin_platform_interface: ^2.1.2
Upvotes: 2