Overview
Switches toggle between on and off. Play’s switch element uses Apple’s native iOS toggle. You can customize the switch’s default state and tint color.
Properties
In addition to the properties below, glass effect containers also have access to general object properties in the Expression Editor.
Value
Set if the switch is on or off by default.In Expression Editor
In Expression Editor
booleanValues:
true, falseCan get or set the value.
Tint Color
Select the switch’s accent color.In Expression Editor
In Expression Editor
colorCan get or set the tint color or an individual color property.

