TriStateVector

A tri state of vector painters that switch based on the current theme.

Constructors

Link copied to clipboard
constructor(darkPainter: ImageVector, lightPainter: ImageVector, systemPainter: ImageVector)

This implementation displays darkPainter when in dark theme, lightPainter when in light theme, and systemPainter when following system theme. The icon automatically transitions when the theme changes.

Properties

Link copied to clipboard
open override val switchMode: ButtonSwitchMode

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.