Switch


On/off switches toggle the state of a single settings option. More...
import Material 0.2
Properties and Methods

Detailed Description

On/off switches toggle the state of a single settings option

Properties

color : color

The switch color. By default this is the app's accent color

darkBackground : bool

Set to true if the switch is on a dark background