SwitchRow

internal fun SwitchRow(text: String, icon: ImageVector, checked: Boolean, onCheckedChange: (Boolean) -> Unit)(source)

Renders the SwitchRow UI for the SDAI presentation layer.

Author

Dmitriy Moroz

Parameters

text

text value consumed by the API.

icon

icon value consumed by the API.

checked

checked value consumed by the API.

onCheckedChange

callback invoked by the component.