Renderer¶
@Stable
interface Renderer
Defines the rendering behaviour of a LayoutNode.
Both render and renderAfterChildren have no-op defaults so implementors only override what they need.
Functions¶
render¶
Called before the node's children are rendered.
Use this for backgrounds, borders, or content that should appear below children.
renderAfterChildren¶
Called after all children have been rendered.
Use this for overlays or post-process effects that should appear above children.