MultiChoiceSegmentedButtonRow

@Composable
fun MultiChoiceSegmentedButtonRow(modifier: Modifier = Modifier, space: Dp = SegmentedButtonDefaults.BorderWidth, content: @Composable MultiChoiceSegmentedButtonRowScope.() -> Unit)

Material Segmented Button.

A Layout to correctly position, size, and add semantics to SegmentedButtons in a Row. It handles overlapping items so that strokes of the item are correctly on top of each other.

MultiChoiceSegmentedButtonRow is used when the selection allows multiple value, for correct semantics.

Parameters

modifier

the Modifier to be applied to this row

space

the dimension of the overlap between buttons. Should be equal to the stroke width used on the items.

content

the content of this Segmented Button Row, typically a sequence of SegmentedButtons

Samples

androidx.compose.material3.samples.SegmentedButtonMultiSelectSample