We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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章节中,应该是返回true则依赖本控件data的子树会执行didChangeDependencies()回调,原文是false 原文:
//该回调决定当data发生变化时,是否通知子树中依赖data的Widget @override bool updateShouldNotify(ShareDataWidget old) { //如果返回false,则子树中依赖(build函数中有调用)本widget //的子widget的`state.didChangeDependencies`会被调用 return old.data != data; }
The text was updated successfully, but these errors were encountered:
已修改
Sorry, something went wrong.
No branches or pull requests
InheritedWidget章节中,应该是返回true则依赖本控件data的子树会执行didChangeDependencies()回调,原文是false
原文:
The text was updated successfully, but these errors were encountered: