ThemeSwitchIcon
Defines theme-aware icons for the theme switch button.
Implementations of this interface provide icons that automatically adapt to the current theme state. Different implementations support various icon sources including vector graphics, raster images, and Lottie animations.
Inheritors
Types
A pair of raster painters that switch based on the current theme.
A pair of vector icons that switch based on the current theme.
A Lottie animation icon that animates based on the current theme state.
A single raster painter that remains constant regardless of theme state.
A tri state of raster painters that switch based on the current theme.
A tri state of vector painters that switch based on the current theme.
A single vector icon that remains constant regardless of theme state.
Functions
Renders the icon based on the current theme state.