Package-level declarations
Types
Link copied to clipboard
interface SnackbarData
Interface to represent one particular Snackbar as a piece of the SnackbarHostState
Link copied to clipboard
Possible durations of the Snackbar in SnackbarHost
Link copied to clipboard
State of the SnackbarHost, controls the queue and the current Snackbar being shown inside the SnackbarHost.
Link copied to clipboard
Possible results of the SnackbarHostState.showSnackbar call
Functions
Link copied to clipboard
Link copied to clipboard
fun SnackbarHost(hostState: SnackbarHostState, modifier: Modifier = Modifier, snackbar: @Composable (SnackbarData) -> Unit)
Host for Snackbars to be used in Scaffold to properly show, hide and dismiss items based on material specification and the hostState.