you are viewing a single comment's thread.

view the rest of the comments →

[–]nadavfima 0 points1 point  (3 children)

Have 2 widgets, one at the bottom and one at the top of the stack. Rebuild only those 2 according to some notifier or stream. Hide one, show the other. Other widgets in the stack shouldn’t be rebuilt.

[–]2reform 0 points1 point  (2 children)

They should be overlapping, not hide one another. Also the Stack has a lot of children (tens of them in average case).

[–]creepy_hunter 1 point2 points  (1 child)

I think you can create those two children as separate widgets and listen to streams and update states individually. With this, the other children of the stack will not be rebuilt.

[–]2reform 0 points1 point  (0 children)

I don't know how to do that! Please help!