Constructors

Link copied to clipboard
constructor(palette: MutablePalette)

Properties

Link copied to clipboard
open override var backgroundOff: Color

The background color of the switch when it is off.

Link copied to clipboard
open override var backgroundOn: Color

The background color of the switch when it is on.

Link copied to clipboard
open override var thumb: Color

The color of the thumb of the switch.

Functions

Link copied to clipboard
fun set(backgroundOn: Color, backgroundOff: Color, thumb: Color)