MultiSelect

constructor(selected: MutableState<List<Int>>, selectOnCheckboxClickOnly: Boolean = true, showSelectionCounter: Boolean = false)

Parameters

selected

holds the currently selected item ids

selectOnCheckboxClickOnly

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

showSelectionCounter

if true, the count of the selected items will be shown in the dialog