Package-level declarations
Functions
Link copied to clipboard
fun Switch(isChecked: Boolean, onCheckedChange: (Boolean) -> Unit, modifier: Modifier = Modifier, isEnabled: Boolean = true, label: String = "", interactionSource: MutableInteractionSource = remember { MutableInteractionSource() })
A Switch is a UI element that allows the user to toggle between two states - on and off.