Compose-Settings
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Compose-Settings
ui-tiles
/
com.alorma.compose.settings.ui
/
SettingsTriStateCheckbox
Settings
Tri
State
Checkbox
@
Composable
fun
SettingsTriStateCheckbox
(
state
:
Boolean
?
,
title
:
@
Composable
(
)
->
Unit
,
modifier
:
Modifier
=
Modifier
,
enabled
:
Boolean
=
LocalSettingsGroupEnabled.current
,
icon
:
@
Composable
(
)
->
Unit
?
=
null
,
subtitle
:
@
Composable
(
)
->
Unit
?
=
null
,
colors
:
SettingsTileColors
=
SettingsTileDefaults.colors()
,
checkboxColors
:
CheckboxColors
=
CheckboxDefaults.colors( checkedColor = colors.actionColor(enabled), checkmarkColor = contentColorFor(colors.actionColor(enabled)), disabledCheckedColor = colors.actionColor(enabled), )
,
textStyles
:
SettingsTextStyles
=
SettingsTileDefaults.textStyles()
,
shape
:
Shape
=
SettingsTileDefaults.shape()
,
tonalElevation
:
Dp
=
SettingsTileDefaults.Elevation
,
shadowElevation
:
Dp
=
SettingsTileDefaults.Elevation
,
semanticProperties
:
SemanticsPropertyReceiver
.
(
)
->
Unit
=
{}
,
onCheckedChange
:
(
Boolean
)
->
Unit
=
{}
)