Interface

SnackbarVisuals

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

Source set: Common
public interface SnackbarVisuals

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

Properties

message

Source set: Common
public val message: String

actionLabel

Source set: Common
public val actionLabel: String?

withDismissAction

Source set: Common
public val withDismissAction: Boolean

duration

Source set: Common
public val duration: SnackbarDuration
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: