Property

LocalWindow

The CompositionLocal containing the current Window if available.

Source set: Android
public val LocalWindow: ProvidableCompositionLocal<Window?> =
    staticCompositionLocalWithComputedDefaultOf {
        LocalAndroidComposeView.currentValue?.window
    }

The CompositionLocal containing the current Window if available.

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: