DuoVector

data class DuoVector(val darkVector: ImageVector, val lightVector: ImageVector) : ThemeSwitchIcon

A pair of vector icons that switch based on the current theme.

This implementation displays darkVector when in dark theme and lightVector when in light theme. The icon automatically transitions when the theme changes.

Constructors

Link copied to clipboard
constructor(darkVector: ImageVector, lightVector: ImageVector)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun Icon(state: ThemeAnimationState, tint: Color, modifier: Modifier, contentDescription: String?)

Renders the icon based on the current theme state.