SettingsMasterToggle
fun SettingsMasterToggle(label: String, checked: Boolean, onCheckedChange: (Boolean) -> Unit, theme: NavigationSettingsTheme, content: @Composable (enabled: Boolean) -> Unit)
Master switch that gates a group of dependent controls.
content receives the current checked value so child rows can disable themselves when the master switch is off.
Parameters
label
Label shown next to the master switch.
checked
Current switch state.
onCheckedChange
Called when the user toggles the master switch.
theme
Color and typography tokens.
content
Child controls; receives enabled reflecting the master switch state.