Source set: Common
interface SnackbarData
Interface to represent one particular Snackbar as a piece of the SnackbarHostState
Properties
message
Source set: Common
val message: String
actionLabel
Source set: Common
val actionLabel: String?
duration
Source set: Common
val duration: SnackbarDuration
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