Showing
1 changed file
with
5 additions
and
1 deletions
... | @@ -59,7 +59,11 @@ Future<void> main() async { | ... | @@ -59,7 +59,11 @@ Future<void> main() async { |
59 | SystemChrome.setEnabledSystemUIMode(SystemUiMode.manual, | 59 | SystemChrome.setEnabledSystemUIMode(SystemUiMode.manual, |
60 | overlays: [SystemUiOverlay.bottom]); | 60 | overlays: [SystemUiOverlay.bottom]); |
61 | // TODO(weilu): 启动体验不佳。状态栏、导航栏在冷启动开始的一瞬间为黑色,且无法通过隐藏、修改颜色等方式进行处理。。。 | 61 | // TODO(weilu): 启动体验不佳。状态栏、导航栏在冷启动开始的一瞬间为黑色,且无法通过隐藏、修改颜色等方式进行处理。。。 |
62 | - // 相关问题跟踪:https://github.com/flukey: key) { | 62 | + // 相关问题跟踪:https://github.com/flutter/flutter/issues/73351 |
63 | +} | ||
64 | + | ||
65 | +class MyApp extends StatelessWidget { | ||
66 | + MyApp({Key? key, this.home, this.theme}) : super(key: key) { | ||
63 | Log.init(); | 67 | Log.init(); |
64 | initDio(); | 68 | initDio(); |
65 | Routes.initRoutes(); | 69 | Routes.initRoutes(); | ... | ... |
-
Please register or login to post a comment