Expand description
Compositional row widgets for TreeView:
ExpandToggle, NodeIconWidget, and TreeRow.
These widgets are intended to be composed into a FlexRow (or positioned
manually) by the TreeView when building visible rows.
Structs§
- Expand
Toggle - Draws the ▶/▼ expand arrow. Display-only — returns
Ignoredfor all events. - Node
Icon Widget - Draws the coloured icon glyph for a node.
Width is
ICON_W + ICON_GAP; height fills the row. - TreeRow
- Compositional row:
SizedBox(indent) |ExpandToggle|NodeIconWidget|Label.
Constants§
Functions§
- icon_
color - Return the fill colour for a given node icon type.