DefaultSnackbarHost

fun DefaultSnackbarHost(snackbarState: SnackbarHostState, modifier: Modifier = Modifier)(source)

Material 3 SnackbarHost that draws each snackbar the Toolkit's way, with ToolkitSnackbar, or with the CustomSnackbarVisuals.content a screen gave it.

Parameters

snackbarState

State that holds the current snackbar data.

modifier

Modifier applied to the SnackbarHost.