This repository has been archived by the owner on Jun 1, 2024. It is now read-only.
yoga_engine: yoga must recalculate layout when when widgets change #1723
Labels
flutter
This issue directly affects structure and logic of Flutter project
Use case
The current implementation of
yoga_engine
does not reflect updates to the tree or widget sizes. So when any widget is resized after rendering, or when any widget is inserted or removed from the tree, these events are not reflected to yoga.Proposal
Implement in the
RenderYoga
class in the method responsible for capturing adding and removing children and size changes events and rebuilding the yoga node tree or marking them as dirty.The text was updated successfully, but these errors were encountered: