'I am having the following errors when building my FLUTTER Firebase phone authentication application:

Error: Cannot run with sound null safety, because the following dependencies don't support null safety:

  • package:firebase_core_web
  • package:firebase_auth
  • package:firebase
  • package:firebase_core_platform_interface
  • package:firebase_core
  • package:plugin_platform_interface
  • package:http_parser
  • package:quiver


Solution 1:[1]

  1. Check if all dependencies can be upgraded dart pub outdated --mode=null-safety

  2. Update to all the latest dependencies dart pub upgrade --null-safety Ps:you can find in https://codewithandrea.com/articles/migrating-flutter-firebase-app-null-safety/

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 ???