'Do we have to initialize Firebase on every .dart file in a flutter project?
I was looking at how to use Firebase in a Flutter project and I understood it a bit. I have 3 screens on my Flutter app and I need access to Firebase in all three of them.
https://youtu.be/EXp0gq9kGxI?t=901
I am following along with the above video. He initializes Firebase with a complex procedure involving future builders and I am not sure if I need to do that on all screens or just the main.dart file.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
