To initialize Firebase we should add this in the main.dart with the following example:void main() async { /// Firebase Initialize WidgetsFlutterBinding.ensureInitialized(); await Firebase.initializeApp(); runApp(const MyApp());}
No comments:
Post a Comment