Jenga Expandable Row
An outlined card whose header row toggles an expandable content body: a generic accordion (day/agenda cards, FAQ rows, grouped settings). The header is laid out in a RowScope; the block appends an optional rotating chevron. Domain-neutral and token-driven. With transparent colors and a rectangle shape it becomes a plain row for use inside another card.
Parameters
whether the content is currently shown.
called with the requested new state when the header is tapped.
the header content, laid out before the chevron.
the Modifier for the card.
whether to append a chevron that rotates when expanded.
accessibility label for the chevron.
the card shape.
the color set; defaults to JengaExpandableRowDefaults.colors.
padding around the header row.
padding around the expanded body.
the expandable body, shown when expanded.