CheckBoxPreferenceItem

fun CheckBoxPreferenceItem(modifier: Modifier = Modifier, icon: ImageVector? = null, title: String, summary: String? = null, checked: Boolean, onCheckedChange: (Boolean) -> Unit, ga4Event: Ga4EventData? = null)(source)

Checkbox preference with caller-owned checked state. Row and checkbox taps emit onCheckedChange; callers handle persistence. Provide a clear title and supporting summary.