Settings

data class Settings(val userName: String? = null, val useDynamicColor: Boolean = true, val darkThemeConfig: DarkThemeConfig = DarkThemeConfig.FOLLOW_SYSTEM, val language: Language = Language.ENGLISH)

Data class representing editable user settings related to themes and appearance.

Constructors

Link copied to clipboard
constructor(userName: String? = null, useDynamicColor: Boolean = true, darkThemeConfig: DarkThemeConfig = DarkThemeConfig.FOLLOW_SYSTEM, language: Language = Language.ENGLISH)

Creates a Settings instance with optional parameters.

Properties

Link copied to clipboard

Configuration for the dark theme.

Link copied to clipboard

The language of the app.

Link copied to clipboard

Indicates whether dynamic colors are enabled.

Link copied to clipboard
val userName: String? = null