SeasonalThemeOverlayUiState

data class SeasonalThemeOverlayUiState(val showSnowfall: Boolean = false, val showRain: Boolean = false, val greeting: HolidaySeason? = null, val themeMode: String = DataStoreNamesConstants.THEME_MODE_FOLLOW_SYSTEM)(source)

What the app-wide seasonal overlay draws.

Constructors

Link copied to clipboard
constructor(showSnowfall: Boolean = false, showRain: Boolean = false, greeting: HolidaySeason? = null, themeMode: String = DataStoreNamesConstants.THEME_MODE_FOLLOW_SYSTEM)

Properties

Link copied to clipboard

The holiday to greet, or null when no greeting is due.

Link copied to clipboard

Whether rain falls over the screen.

Link copied to clipboard

Whether snow falls over the screen.

Link copied to clipboard

The stored theme mode, so the overlay can tell light from dark without composing a whole app theme of its own.