Compose-Settings
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Compose-Settings
ui-base
/
com.alorma.compose.settings.ui.base.internal
/
SettingsTileDefaults
Settings
Tile
Defaults
object
SettingsTileDefaults
Members
Properties
Disabled
Alpha
Link copied to clipboard
const
val
DisabledAlpha
:
Float
=
0.38f
Elevation
Link copied to clipboard
val
Elevation
:
Dp
Functions
colors
Link copied to clipboard
@
Composable
fun
colors
(
containerColor
:
Color
=
LocalSettingsTileColors.current?.containerColor ?: MaterialTheme.colorScheme.surface
,
titleColor
:
Color
=
LocalSettingsTileColors.current?.titleColor ?: MaterialTheme.colorScheme.primary
,
iconColor
:
Color
=
LocalSettingsTileColors.current?.iconColor ?: MaterialTheme.colorScheme.onSurface
,
subtitleColor
:
Color
=
LocalSettingsTileColors.current?.subtitleColor ?: MaterialTheme.colorScheme.onSurface
,
actionColor
:
Color
=
LocalSettingsTileColors.current?.actionColor ?: MaterialTheme.colorScheme.primary
,
disabledTitleColor
:
Color
=
titleColor.copy(alpha = DisabledAlpha)
,
disabledIconColor
:
Color
=
iconColor.copy(alpha = DisabledAlpha)
,
disabledSubtitleColor
:
Color
=
subtitleColor.copy(alpha = DisabledAlpha)
,
disabledActionColor
:
Color
=
actionColor.copy(alpha = DisabledAlpha)
)
:
SettingsTileColors
shape
Link copied to clipboard
@
Composable
fun
shape
(
)
:
Shape
text
Styles
Link copied to clipboard
@
Composable
fun
textStyles
(
titleStyle
:
TextStyle
=
LocalSettingsTextStyles.current?.titleStyle ?: MaterialTheme.typography.bodyLarge
,
subtitleStyle
:
TextStyle
=
LocalSettingsTextStyles.current?.subtitleStyle ?: MaterialTheme.typography.bodyMedium
)
:
SettingsTextStyles