SnackbarData
Interface
Common
interface SnackbarData
Interface to represent one particular Snackbar
as a piece of the SnackbarHostState
Properties
Common
val message: String
Common
val actionLabel: String?
Common
val duration: SnackbarDuration
Functions
fun performAction()
Function to be called when Snackbar action has been performed to notify the listeners
fun dismiss()
Function to be called when Snackbar is dismissed either by timeout or by the user