SnackbarData


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

Summary

Public functions

Unit

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

Cmn
Unit

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

Cmn

Public properties

SnackbarVisuals

Holds the visual representation for a particular Snackbar.

Cmn

Public functions

dismiss

fun dismiss(): Unit

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

performAction

fun performAction(): Unit

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

Public properties

visuals

val visualsSnackbarVisuals

Holds the visual representation for a particular Snackbar.