Package-level declarations
Functions
Link copied to clipboard
fun SettingsItem(text: String, textColor: Color = LocalContentColor.current, enabled: Boolean = true, leadingIcon: ImageVector? = null, leadingIconTint: Color = LocalContentColor.current, trailingContent: @Composable () -> Unit, onClick: () -> Unit)
fun SettingsItem(text: String, textColor: Color = LocalContentColor.current, enabled: Boolean = true, leadingIcon: ImageVector? = null, leadingIconTint: Color = LocalContentColor.current, trailingIcon: ImageVector? = Icons.AutoMirrored.Rounded.KeyboardArrowRight, trailingIconTint: Color = LocalContentColor.current, onClick: () -> Unit)
A clickable settings button item.
Link copied to clipboard
fun SettingsItemDetail(text: String, textColor: Color = LocalContentColor.current, icon: ImageVector? = null, iconTint: Color = LocalContentColor.current, trailingText: String? = null, enabled: Boolean = true, onClick: () -> Unit? = null)
A settings detail item.
Link copied to clipboard
fun SettingsItemSwitch(checked: Boolean, text: String, textColor: Color = LocalContentColor.current, enabled: Boolean = true, leadingIcon: ImageVector? = null, leadingIconTint: Color = LocalContentColor.current, onClick: () -> Unit)
A toggleable settings switch item.