OverlayEffect
fun OverlayEffect(vararg keys: Any?, fallback: @Composable () -> Unit? = null, block: suspend OverlayScope.() -> Unit)(source)
Calls the given block with the current OverlayHost if overlays are available. If overlays are unavailable, the fallback composable will be called instead.
The block is executed inside a LaunchedEffect with the given keys and passes the current OverlayHost as the only parameter. Callers should call OverlayHost.show within this block.