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

关于InheritedWidget注册绑定不兼容问题 #776

Open
JackGZY opened this issue Feb 24, 2022 · 0 comments
Open

关于InheritedWidget注册绑定不兼容问题 #776

JackGZY opened this issue Feb 24, 2022 · 0 comments

Comments

@JackGZY
Copy link

JackGZY commented Feb 24, 2022

fish_redux模板代码中的buildView方法在非pure情况下调用context.dependOnInheritedWidgetOfExactType方法无法进行绑定,该方法必须在widget的build方法中调用。
目前只能在buildView里面在新加一个无状态的widget来解决绑定问题,希望后续能够改进buildView在非pure情况的这个问题;

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

1 participant