TriStateRasterPainter
A tri state of raster painters that switch based on the current theme.
Constructors
Link copied to clipboard
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.
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.