I'm developing a note-taking app (Android app) that uses Firebase, So I intend to add Firebase Authentication. I created the app on Firebase console.
I'm taking an error, as you can see at the image down below:
I tried some fixes, that I found at Stack Overflow.
void main() async {
WidgetsFlutterBinding.ensureInitialized();
await Firebase.initializeApp();
runApp(const MyApp());
}
This is the main function in main.dart
I guess I'm missing a spot. But I can't find it.
How can I solve this problem?