Composable Function

GlanceTheme

A top level theme for Glance code.

GlanceTheme

Source set: Android
@Composable
public fun GlanceTheme(
    colors: ColorProviders = LocalColors.current,
    content: @GlanceComposable @Composable () -> Unit,
)

A top level theme for Glance code. Unlike a standard compose theme, this only provides color. Like a standard compose theme, it should be at the top level of a compose hierarchy with all themed UI provided as content.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: