JetpackToggleOptions

fun JetpackToggleOptions(options: List<ToggleOption>, selectedIndex: Int, onSelectionChange: (Int) -> Unit, modifier: Modifier = Modifier)

A row of toggle options that can be selected.

Parameters

options

The list of options to display.

selectedIndex

The index of the selected option.

onSelectionChange

The callback to invoke when the selected option changes.

modifier

The modifier to apply to the row.