the app still only shows a blank screen. Here is my main app code:
import 'package:flutter/material.dart';
import 'package:firebase_core/firebase_core.dart';
void main() async {
await Firebase.initializeApp();
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(title: Text('Firebase Integration')),
body: Center(child: Text('Hello, Firebase!')),
),
);
}
}
Any help or suggestions would be greatly appreciated!
New contributor
Mr_Khattak is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.