Property

LocalElevationOverlay

CompositionLocal containing the ElevationOverlay used by Surface components.

Source set: Common
public val LocalElevationOverlay: ProvidableCompositionLocal<ElevationOverlay?> =
    staticCompositionLocalOf {
        DefaultElevationOverlay
    }

CompositionLocal containing the ElevationOverlay used by Surface components. Provide null to turn off ElevationOverlays for the children within this CompositionLocal..

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: