DomposableSnackbarProps

data class DomposableSnackbarProps(val message: String, val actionLabel: String? = null, val onAction: () -> Unit? = null, val onDismiss: () -> Unit? = null, val appearance: DomposableSurfaceAppearance? = null)

Presentation only: the app decides when to show, dismiss or replace a message.

Constructors

Link copied to clipboard
constructor(message: String, actionLabel: String? = null, onAction: () -> Unit? = null, onDismiss: () -> Unit? = null, appearance: DomposableSurfaceAppearance? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val onAction: () -> Unit?
Link copied to clipboard
val onDismiss: () -> Unit?