When I run my application suddenly this problem appears =>
Exception has occurred. FirebaseException ([core/no-app] No Firebase App '[DEFAULT]' has been created - call Firebase.initializeApp())
I have tried several things and still get the error. hopefully, there is a solution.
I think it is because you have not initialized your app with Firebase.
In the main
method of your application add this
WidgetsFlutterBinding.ensureInitialized();
await Firebase.initializeApp();
like this