Kwik Switch
fun KwikSwitch(text: String? = null, checked: Boolean, colors: SwitchColors = kwikSwitchColors(), onCheckedChange: (Boolean) -> Unit)
Simple Material3 switch with text support
Parameters
checked
true if the switch is checked, false otherwise
text
to show next to the switch
colors
SwitchColors colors for the switch
on Checked Change
callback to be invoked when the switch is checked or unchecked