ThemeTriStateCheckbox
fun ThemeTriStateCheckbox(state: ToggleableState, onClick: () -> Unit, label: String, modifier: Modifier = Modifier, enabled: Boolean = true, supportingText: String? = null, tooltip: String? = null)
A three-state checkbox row for "select all" over a group, where state is ToggleableState.Indeterminate when only some items are selected. Tapping the row calls onClick; the caller decides the next state (usually all on, or all off when everything is on).
Parameters
tooltip
optional explanation shown by an InfoTooltip after the label.