title: Main function not running after switching to dev branch and upgrading flutter. Giving me below Errors
body: <p>/C:/Intel/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_svg-0.18.1/lib/src/picture_provider.dart:50:59: Error: No named parameter with the name 'nullOk'.
  context != null ? Localizations.localeOf(context, nullOk: true) : null,
  ^^^^^^
  /C:/Intel/flutter/packages/flutter/lib/src/widgets/localizations.dart:413:17: Context: Found this candidate, but the arguments don't match.
  static Locale localeOf(BuildContext context) {
  ^^^^^^^^
  3</p>
  <p>FAILURE: Build failed with an exception.</p>
  <ul>
  <li><p>Where:
  Script 'C:\Intel\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 991</p>
  </li>
  <li><p>What went wrong:
  Execution failed for task ':app:compileFlutterBuildDebug'.</p>
  </li>
  </ul>
  <blockquote>
  <p>Process 'command 'C:\Intel\flutter\bin\flutter.bat'' finished with non-zero exit value 1</p>
  </blockquote>
  <ul>
  <li><p>Try:
  Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.</p>
  </li>
  <li><p>Get more help at <a href="https://help.gradle.org" rel="nofollow noreferrer">https://help.gradle.org</a></p>
  </li>
  </ul>
  <p>BUILD FAILED in 30s
  Exception: Gradle task assembleDebug failed with exit code 1</p>