LeafElement
Base class for leaf elements that have no children and produce rendered output. Use this for elements that map directly to visual components such as text labels, images, or interactive controls.
Constructor
LeafElement
Creates a new leaf element with an optional key.
| Parameter | Description |
|---|---|
key | An optional key for reconciliation identity. |
Last updated on