El renderizado de Flutter implica tres árboles — el árbol de Widgets (configuración), el árbol de Elements (los widgets instanciados y gestionados), y el árbol de RenderObject (layout y pintura). Entender este pipeline desmitifica cómo Flutter transforma eficientemente widgets en píxeles.
Los tres árboles
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
