Skip to content
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

我在materialApp的 home属性注册后,退出登录重新登录后,调用报错 #3

Closed
master950 opened this issue Aug 11, 2020 · 5 comments

Comments

@master950
Copy link

我调用 pushAndRemoveUntil, 清空路由栈其他页面,跳转登陆页面,结果登陆的时候调用方法提示Looking up a deactivated widget's ancestor is unsafe.
image

@ifgyong
Copy link
Owner

ifgyong commented Aug 11, 2020

需要在每个Route初始化的时候分别调用的。因为需要记录每个context才能给他弹窗

@ifgyong
Copy link
Owner

ifgyong commented Aug 11, 2020

如果弹窗不在当前页面,请在调用前显示指定context.

@master950
Copy link
Author

嗯嗯,谢谢大大的及时回复

@ifgyong ifgyong pinned this issue Sep 10, 2020
@chuguofei
Copy link

flutter_boost 无法使用

@ifgyong
Copy link
Owner

ifgyong commented Oct 26, 2020

flutter_boost 无法使用

请问 具体代码是什么?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants