-
Notifications
You must be signed in to change notification settings - Fork 7
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
log中引发的一个空指针异常 #1
Comments
谢谢反馈 👍 最晚明天会发一个修复版本 |
@chenenyu 0.1.1版本少加一个地方,目前还是报错:
if判断哪里也要加
应修改为:
今天能更新个版本吗,有点着急。。。。 |
不好意思 才看到,现在处理下 |
try |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
日志信息:
具体代码定位到:
打印previousRoute.settings.name时报错的。
我的场景是移除所有router然后pushName一个新的就报错了,使用的方法是
pushNamedAndRemoveUntil
;此时previousRoute是null
flutter版本 1.22.4
我把代码修改为下面这样后就可以了:
The text was updated successfully, but these errors were encountered: