该应用程序仍然只显示空白屏幕。这是我的主要应用程序代码:
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!')),
),
);
}
}
任何帮助或建议都将不胜感激!