SingleSelect

constructor(selected: MutableState<Int?>, selectOnRadioButtonClickOnly: Boolean = true, closeOnSelect: Boolean = false)

Parameters

selected

holds the currently selected item id

selectOnRadioButtonClickOnly

if true, only clicks on the radio button will select an item, otherwise a click on the item itself will select it as well

closeOnSelect

if true, the dialog will be closed as soon as a selection is made