SettingsToggle

fun SettingsToggle(label: String, checked: Boolean, onCheckedChange: (Boolean) -> Unit, theme: NavigationSettingsTheme, enabled: Boolean = true)

Label + Switch row for a binary setting.

Parameters

label

Descriptive text shown to the left of the switch.

checked

Current switch state.

onCheckedChange

Called when the user toggles the switch.

theme

Color and typography tokens.

enabled

When false the row is visually dimmed and not interactive.