androidx.compose.material3

SnackbarVisuals

Interface

No hand-written docs yet.

Interface to represent the visuals of one particular Snackbar as a piece of the SnackbarData.

interface SnackbarVisuals

How to get one

Ready-made values and functions that return it

Used by

Parameters that take a SnackbarVisuals.

Properties

message

val message: String

actionLabel

val actionLabel: String?

withDismissAction

val withDismissAction: Boolean

duration

val duration: SnackbarDuration
Library docs

Interface to represent the visuals of one particular Snackbar as a piece of the SnackbarData.