title: Flutter null safety http, shared_preferences requiring plugin_platform_interface without null safety. How to fix it?
body: <p>So, I added two devDependencies in flutter <code>pubspec.yml</code>:</p>
  <pre><code>
  dev_dependencies:
    flutter_test:
      sdk: flutter
    shared_preferences: ^2.0.0-nullsafety
    http: ^0.13.0-nullsafety.0
  </code></pre>
  <p>Both shared_preferences and http versions are based upon null safety. The flutter application is working perfectly before including these.</p>
  <p>But after I try running the app I get the following error:</p>
  <pre><code>Error: Cannot run with sound null safety, because the following dependencies
  don't support null safety:
  
   - package:plugin_platform_interface
  
  For solutions, see https://dart.dev/go/unsound-null-safety
  </code></pre>
  <p>I am not sure which package has a dependency to <code>plugin_platform_interface</code>, but how can I solve this without overriding the null-safety rule for code execution?</p>
  <p>I don't want to run the code without null-safety.
  I didn't include <code>plugin_platform_interface</code> anywhere in the dependencies but still getting an error with respect to the same package.</p>
  <p>Edit: Moving the dependencies to <code>dependencies</code> from <code>dev_dependencies</code> doesn't solve the problem. Nor does replacing the versions by <code>any</code></p>