SnackbarVisuals
-
Cmn
interface SnackbarVisuals
Interface to represent the visuals of one particular Snackbar as a piece of the SnackbarData.
Summary
Public properties |
||
|---|---|---|
String? |
optional action label to show as button in the Snackbar |
Cmn
|
SnackbarDuration |
duration of the Snackbar |
Cmn
|
String |
text to be shown in the Snackbar |
Cmn
|
Boolean |
a boolean to show a dismiss action in the Snackbar. |
Cmn
|
Public properties
withDismissAction
val withDismissAction: Boolean
a boolean to show a dismiss action in the Snackbar. This is recommended to be set to true better accessibility when a Snackbar is set with a SnackbarDuration.Indefinite