DomposableSnackbarHostState
Serializes requests; cancelling a caller removes its active or queued snackbar.
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