PreviewDynamicColors

@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 desplaying a @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

Public constructors

PreviewDynamicColors

PreviewDynamicColors()