Answers for "firebase initialization 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

Browse Popular Code Answers by Language