GroupedActionList

fun GroupedActionList(actions: ImmutableList<GroupedAction>, modifier: Modifier = Modifier, containerColor: Color = MaterialTheme.colorScheme.surfaceContainerLow, itemColor: Color = MaterialTheme.colorScheme.surfaceContainer)(source)

A card of tappable rows rendered as one visual group.

The outer card holds inner cards whose corners round only at the ends of the group, so the rows read as a single unit rather than as separate cards. It is the layout the help screen's feedback sheet uses, extracted so other apps can present their own actions the same way.

Corner rounding is derived from each item's index rather than passed in. A caller cannot label a middle row as the last one, and a single-item list correctly rounds both ends, a case the previous hand-passed first/middle/last enum could not express.

Parameters

actions

Rows to render, in order. An empty list renders nothing.


fun GroupedActionList(modifier: Modifier = Modifier, containerColor: Color = MaterialTheme.colorScheme.surfaceContainerLow, content: @Composable ColumnScope.() -> Unit)(source)

Overload for callers that build their rows inline rather than from a list.

Kept for call sites that need something other than a GroupedAction in a row; prefer the list-based overload, which owns the corner rounding.