DomposableSnackbarHostState

Serializes requests; cancelling a caller removes its active or queued snackbar.

Constructors

Link copied to clipboard
constructor()

Properties

Functions

Link copied to clipboard
suspend fun showSnackbar(message: String, actionLabel: String? = null, withDismissAction: Boolean = false, duration: DomposableSnackbarDuration = if (actionLabel == null ) { DomposableSnackbarDuration.Short } else { DomposableSnackbarDuration.Indefinite }): DomposableSnackbarResult