PreviewLightDark
-
Cmn
@Retention(value = AnnotationRetention.BINARY)
@Target(allowedTargets = [AnnotationTarget.ANNOTATION_CLASS, AnnotationTarget.FUNCTION])
@Preview(name = "Light")
@Preview(name = "Dark", uiMode = 33)
annotation PreviewLightDark
A MultiPreview annotation for desplaying a @Composable method using light and dark themes.
Note that the app theme should support dark and light modes for these previews to be different.
Summary
Public constructors |
|
|---|---|
|
Cmn
|