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
/
SettingsRadioButton
Settings
Radio
Button
@
Composable
fun
SettingsRadioButton
(
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
:
RadioButtonColors
=
RadioButtonDefaults.colors( selectedColor = colors.actionColor(enabled), disabledSelectedColor = colors.actionColor(enabled), )
,
textStyles
:
SettingsTextStyles
=
SettingsTileDefaults.textStyles()
,
shape
:
Shape
=
SettingsTileDefaults.shape()
,
tonalElevation
:
Dp
=
SettingsTileDefaults.Elevation
,
shadowElevation
:
Dp
=
SettingsTileDefaults.Elevation
,
semanticProperties
:
SemanticsPropertyReceiver
.
(
)
->
Unit
=
{}
,
onClick
:
(
)
->
Unit
)