# PreviewDynamicColors

Artifact: [androidx.compose.ui:ui-tooling-preview](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/tooling/preview/MultiPreviews.kt+class:androidx.compose.ui.tooling.preview.PreviewDynamicColors) Added in [1.6.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.6.0) Common/All
- Cmn

  ```
  @Retention(value = AnnotationRetention.BINARY)
  @Target(allowedTargets = [AnnotationTarget.ANNOTATION_CLASS, AnnotationTarget.FUNCTION])
  @Preview(name = "Red", wallpaper = 0)
  @Preview(name = "Blue", wallpaper = 2)
  @Preview(name = "Green", wallpaper = 1)
  @Preview(name = "Yellow", wallpaper = 3)
  annotation PreviewDynamicColors
  ```

*** ** * ** ***

A MultiPreview annotation for displaying a @`https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable` method using four different wallpaper colors.

Note that the app should use a dynamic theme for these previews to be different.

## Summary

| ### Public constructors |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/tooling/preview/PreviewDynamicColors#PreviewDynamicColors()()` | Cmn |

## Public constructors

### PreviewDynamicColors

Cmn

```
PreviewDynamicColors()
```