Answers for "when to call firebase.initialize in flutter"

3

initialize app flutter with firebase

import 'package:firebase_core/firebase_core.dart';

void main() async {
   WidgetsFlutterBinding.ensureInitialized();
   await Firebase.initializeApp();
   runApp(MyApp());
}
Posted by: Guest on May-07-2021

Code answers related to "when to call firebase.initialize in flutter"

Browse Popular Code Answers by Language