A Flutter renderelése három fát magában foglal — a Widget fát (konfiguráció), az Element fát (az instanciált, kezelt widgeteket), és a RenderObject fát (elrendezés és rajzolás). Ennek a feldolgozási sorrendnek az megértése demisztifikálja, hogy a Flutter hogyan alakítja át hatékonyan a widgeteket pixelekké.
A három fa
WIDGET tree → immutable CONFIGURATION (what you write: the description of the UI)
→ cheap to create/recreate; rebuilt often (build() returns new widgets)
ELEMENT tree → the INSTANTIATED widgets; manages lifecycle and LINKS widgets to render
objects; PERSISTS across rebuilds (this is the key to efficiency)
RENDEROBJECT tree → does the actual LAYOUT, PAINTING, and hit-testing (the heavy objects)
→ expensive; REUSED and updated (not recreated) across rebuilds
