# SwitchColors

# SwitchColors

Artifact:[androidx.glance:glance-appwidget](https://developer.android.com/jetpack/androidx/releases/glance)  
[View Source](https://cs.android.com/search?q=file:androidx/glance/appwidget/Switch.kt+class:androidx.glance.appwidget.SwitchColors)  
Added in[1.0.0](https://developer.android.com/jetpack/androidx/releases/glance#1.0.0)

<br />

```
sealed class SwitchColors
```

<br />

*** ** * ** ***

Set of colors to apply to a Switch depending on the checked state.

## Summary

|                                                ### Protected constructors                                                |
|--------------------------------------------------------------------------------------------------------------------------|
| [SwitchColors](https://developer.android.com/reference/kotlin/androidx/glance/appwidget/SwitchColors#SwitchColors())`()` |

## Protected constructors

### SwitchColors

```
protected SwitchColors()
```