SegmentedItemList

fun SegmentedItemList(modifier: Modifier = Modifier, title: String? = null, content: @Composable ColumnScope.() -> Unit)

Draws a segmented list of items.

The list is displayed as a vertical stack of segmented containers with 16.dp outer corners, 4.dp inner corners between adjacent items, and a 2.dp vertical gap.

See SegmentedItemHeadingAndText, SegmentedItemText, and SegmentedItemCenteredText for items that are normally used inside this container. For a custom composable, wrap it in SegmentedItemContainer.

Parameters

modifier
title

the title to show above the list or null.

content

the items to show inside the list.