PilotSwitch

class PilotSwitch<T : Any>(val isOn: StateFlow<Boolean>, val label: T, val onCheckedChange: (Boolean) -> Unit = {})

Constructors

Link copied to clipboard
constructor(isOn: StateFlow<Boolean>, label: T, onCheckedChange: (Boolean) -> Unit = {})

Properties

Link copied to clipboard
val isOn: StateFlow<Boolean>
Link copied to clipboard
val label: T
Link copied to clipboard