title: Cannot run with sound null safety, because the following dependencies don't support null safety
body: <blockquote>
  <p>/C:/flutter/.pub-cache/hosted/pub.dartlang.org/video_player_platform_interface-2.2.0/lib/messages.dart:4:1: Error: A library can't opt out of null safety by default, when using sound null safety.
  // @dart = 2.8
  ^^^^^^^^^^^^^^
  /C:/flutter/.pub-cache/hosted/pub.dartlang.org/wakelock_platform_interface-0.1.0+1/lib/messages.dart:4:1: Error: A library can't opt out of null safety by default, when using sound null safety.
  // @dart = 2.8
  ^^^^^^^^^^^^^^
  Error: Cannot run with sound null safety, because the following dependencies
  don't support null safety:</p>
  </blockquote>
  <p>Hi,</p>
  <p>I imported project from other person. When I try pub get it say <strong>requires SDK version &gt;=2.12.0 &lt;3.0.0, version solving failed.</strong> Then i Updated dart it through this error.</p>
  <p>Solution 1:</p>
  <p><a href="https://stackoverflow.com/questions/64917744/cannot-run-with-sound-null-safety-because-dependencies-dont-support-null-safety">enter link description here</a></p>
  <p>I have tried above link solution still throughs this above error</p>