AppThemePreviewWrapper

Supplies AppTheme to previews annotated with @PreviewWrapper(AppThemePreviewWrapper::class), replacing a manual AppTheme { } in the preview body. Only the renderer of the annotated function applies this — a preview invoked as a plain function call from another composable does not inherit it.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun Wrap(content: @Composable () -> Unit)