-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android端 Fragment 包含的 Flutter 页面 首次启动 没有初始化 白屏或黑屏 #1483
Comments
'v3.0-null-safety-preview.9' Null check operator used on a null value |
VoidCallback addEventListener(String key, EventListener listener) { |
mark |
解决了吗 |
Android端 Fragment 包含的 Flutter 页面 首次启动 没有初始化 白屏或黑屏
App是登录后展示4个Tab。4个Tab是原生写的 tab里面嵌的是 Fragment , Fragment里面放的Flutter页面
升级 flutter_boost 从 v3.0-preview.5. 到 v3.0-null-safety-preview.13 支持空安全版本后
Android端出现此问题
IOS端没有问题
日志
2021-11-25 10:36:30.121 29743-29999/cn.com.cunw.teacheraide I/flutter: ══╡ EXCEPTION CAUGHT BY SCHEDULER LIBRARY ╞══════════════════════
The following _CastError was thrown during a scheduler callback:
Null check operator used on a null value
overlayKey.currentContext 为null
The text was updated successfully, but these errors were encountered: