Flutter应用在加载应用前显示黑屏 [英] Flutter app shows a black screen before loading the app
问题描述
我注意到flutter应用程序存在此问题,当我从冷启动方式打开flutter应用程序时,在加载实际应用程序之前,我看到黑屏弹出.我已经看到了Newsvoice生产应用程序以及安装的测试应用程序的问题.
I have noticed this problem with flutter apps, when I open a flutter app from cold boot, I see a black screen popping before the actual app is loaded. I have seen the problem with the Newsvoice production app and as well as with a test app I installed.
在此处查看视频: https://www.youtube.com/watch?v=zszud6UWzps
这是Flutter SDK中的错误吗?
Is it a bug in the Flutter SDK?
推荐答案
此问题已最近已修复.如果您使用具有此引擎修复功能的Flutter版本,则不会看到黑框.(此修复程序现在应该位于Flutter的 master
分支上,而不是 alpha
分支上.)
This issue was fixed recently. If you are using a version of Flutter that has this engine fix, you won't see the black frame. (The fix should be on the Flutter master
branch by now, but not the alpha
branch.)
这篇关于Flutter应用在加载应用前显示黑屏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!