androidx.compose.material3

SnackbarData

Interface

No hand-written docs yet.

Interface to represent the data of one particular Snackbar as a piece of the SnackbarHostState.

interface SnackbarData

Used by

Parameters that take a SnackbarData.

Properties

visuals

val visuals: SnackbarVisuals

Functions

performAction

fun performAction()

Function to be called when Snackbar action has been performed to notify the listeners.

dismiss

fun dismiss()

Function to be called when Snackbar is dismissed either by timeout or by the user.

Library docs

Interface to represent the data of one particular Snackbar as a piece of the SnackbarHostState.