SegmentedItemContainer
A generic container that applies the standard segmented list item styling (rounded corners, container surface background, width, and padding).
Use this if you need to place a custom composable inside a SegmentedItemList or LazySegmentedItemList.
Parameters
a Modifier.
whether to show a right chevron icon on the right side.
the Shape used to clip the container. Defaults to 4.dp rounded corners (which when placed inside a SegmentedItemList combines with the list's outer 16.dp clip to form the outer/inner segmented corners), or the per-item shape when inside a segmentedItemList.
whether to draw a 1.dp selection border around the container.
the custom composable to display inside the standard item styling.
A generic container that applies the standard segmented list item styling for an item at index out of count items.
Parameters
the zero-based index of the item in the segmented group.
the total number of items in the segmented group.
a Modifier.
whether to show a right chevron icon on the right side.
whether to draw a 1.dp selection border around the container.
the custom composable to display inside the standard item styling.