void main() async {
WidgetsFlutterBinding.ensureInitialized();
///
SystemUiOverlayStyle systemUiOverlayStyle =
SystemUiOverlayStyle(statusBarColor: Colors.transparent);
SystemChrome.setSystemUIOverlayStyle(systemUiOverlayStyle);
///
await Firebase.initializeApp();
runZonedGuarded(() {
runApp(MyApp());
}, FirebaseCrashlytics.instance.recordError);
}
flutter 沉浸式
猜你喜欢
转载自blog.csdn.net/python4_1/article/details/122318048
今日推荐
周排行