Question: [![enter image description here](https://i.stack.imgur.com/0tzvR.png)](https://i.stack.imgur.com/0tzvR.png)

**I have tried all solutions on the internet and everywhere but nothing works so if someone can help me to solve this issue and this issue occurs when i try to make build for my Flutter App project**

this is my yaml file

Answer: 
It looks like you might be using an old version of the plugin\_platform\_interface package.

you should have a line like this in your pubspec.yaml file:

```
dependencies:
  plugin_platform_interface: ^2.0.1

```

note that according to the instructions on pub.dev this package only supports null safety in version 2.0 and above. see more at

[plugin\_platform\_interface version log](https://pub.dev/packages/plugin_platform_interface/changelog)
```
flutter run --no-sound-null-safety

```

Check this:
[Cannot run with sound null safety because dependencies don't support null safety](https://stackoverflow.com/questions/64917744/cannot-run-with-sound-null-safety-because-dependencies-dont-support-null-safety)