ToastOverlay

@Composable
fun ToastOverlay(modifier: Modifier = Modifier, content: @Composable ToastOverlayScope.() -> Unit)

Creates a org.gnome.adw.ToastOverlay that shows toasts above its content.

This composable introduces a ToastOverlayScope as the receiver in its content lambda, giving access to the following functions:

Parameters

modifier

Compose Modifier for layout and styling.

content

The composable content to display.