ContentWithOverlays

fun ContentWithOverlays(modifier: Modifier = Modifier, overlayHost: OverlayHost = rememberOverlayHost(), content: @Composable () -> Unit)(source)

Renders the given content with the ability to show overlays on top of it. This works by exposing an OverlayHost via LocalOverlayHost.

Parameters

modifier

The modifier to be applied to the layout.

overlayHost

the OverlayHost to use for managing overlays.

content

The regular content to render. Any overlays will be rendered over them.