Checkbox Setting
fun CheckboxSetting(title: Int, body: Int, onCheckedChange: (Boolean) -> Unit, checked: Boolean, modifier: Modifier = Modifier.fillMaxWidth())
A setting with a checkbox.
Parameters
title
the setting's name.
body
the setting's description.
on Checked Change
the action to perform when the checkbox is toggled.
fun CheckboxSetting(title: String, body: String, onCheckedChange: (Boolean) -> Unit, checkedProvider: () -> Boolean, modifier: Modifier = Modifier.fillMaxWidth())