AppSelectableRow

fun AppSelectableRow(label: StringResource, isSelected: Boolean, onClick: () -> Unit, modifier: Modifier = Modifier)

A row component designed for selection lists (like Language or Country selection). It shows a label and displays a checkmark only when isSelected is true.

Parameters

label

The StringResource for the label text.

isSelected

Whether this row is currently selected.

onClick

Callback when the row is clicked.

modifier

The Modifier to be applied to the row.


fun AppSelectableRow(label: String, isSelected: Boolean, onClick: () -> Unit, modifier: Modifier = Modifier)

A row component designed for selection lists (like Language or Country selection). This version accepts a raw String.

Parameters

label

The string for the label text.

isSelected

Whether this row is currently selected.

onClick

Callback when the row is clicked.

modifier

The Modifier to be applied to the row.