Skip to main content

Module row

Module row 

Source
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§

ExpandToggle
Draws the ▶/▼ expand arrow. Display-only — returns Ignored for all events.
NodeIconWidget
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§

EXPAND_W
ICON_GAP
ICON_W

Functions§

icon_color
Return the fill colour for a given node icon type.