Unhandled Exception: [core/not-initialized] Firebase has not been correctly initialized.


Unhandled Exception: [core/not-initialized] Firebase has not been correctly initialized.

Usually this means you've attempted to use a Firebase service before calling `Firebase.initializeApp`.

View the documentation for more information: https://firebase.flutter.dev/docs/overview#initialization
画面が白い場合、突然このようなエラーが発生しました.
Future<void> main() async {
  WidgetsFlutterBinding.ensureInitialized();
  await Firebase.initializeApp();
  
  runApp(const MyApp());
}
通常、initialzieは行われない.
これもできない場合は、google-services.jsonまたはGoogleServices-Info.plistがそれぞれ{flutter-project}/android/appおよび{flutter-project}/ios/Runnerにあることを確認してください.