SetVolumeButton

fun SetVolumeButton(onVolumeClick: () -> Unit, modifier: Modifier = Modifier, volumeUiState: VolumeUiState? = null, enabled: Boolean = true, iconAlignment: Alignment = Alignment.Center, iconPadding: PaddingValues? = null)

It is recommended to use SetAudioOutputButton as it also provides the information about current audio output.

Button to launch a screen to control the system volume, using volume up icon as default if no volumeUiState is passed in.

See VolumeUiState