SnackbarHost

@Composable
fun SnackbarHost(content: @Composable () -> Unit)

A host of snack, provides SnackbarHostState for content to use.

SnackbarHost's call site matters. The snack is shown at the bottom of the SnackbarHost's Window.

By default, SnackbarHost is included by PicoTheme.

See also

Samples

com.pico.spatial.ui.design.samples.SnackSample