ButtonGroupLayout

fun ButtonGroupLayout(leftButton: @Composable ButtonGroupScope.(MutableInteractionSource) -> Unit, middleButton: @Composable ButtonGroupScope.(MutableInteractionSource) -> Unit, rightButton: @Composable ButtonGroupScope.(MutableInteractionSource) -> Unit, modifier: Modifier = Modifier, interactionSources: Array<MutableInteractionSource> = remember { Array(BUTTON_GROUP_ITEMS_COUNT) { MutableInteractionSource() } })

A base ButtonGroup for media control middle section.

Parameters

leftButton

a composable function for the left button.

middleButton

a composable function for the middle button.

rightButton

a composable function for the right button.

modifier
interactionSources

an array of MutableInteractionSource for the buttons.