[Question] How to update specific widget in widget tree ? #691
Unanswered
aniketsongara
asked this question in
Q&A
Replies: 1 comment 8 replies
-
You can do: Consumer<PositionProvider>(
builder: (context, value, child) {
return Column(children: [..., child]);
},
child: Html(data: provider.getHtmlContents),
) |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Here I don't want to update
Html(data: provider.getHtmlContents)
widget in the widget tree, how can I achieve this.I have to keep
Consumer()
at top of the widget tree and I don't want to rebuild some of widget in theConsumer()
.I have the same scenario in my project and I am struggling to stop rebuilding the widget. please help me out.
Beta Was this translation helpful? Give feedback.
All reactions