DuoRasterPainter

constructor(darkPainter: Painter, lightPainter: Painter)

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