Flutter యొక్క రెండరింగ్ మూడు చెట్లను కలిగి ఉంటుంది — Widget tree (configuration), Element tree (instantiated, managed widgets), మరియు RenderObject tree (layout మరియు painting). ఈ pipeline ను అర్థం చేసుకోవడం Flutter ఎలా efficiency గా widgets లను pixels గా మారుస్తుంది అని demystify చేస్తుంది.
మూడు చెట్లు
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
