Answers for "how to initialize firebase app in future function 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 "how to initialize firebase app in future function flutter"

Browse Popular Code Answers by Language