SnackbarVisuals

constructor(message: String, actionLabel: String?, withDismissAction: Boolean, duration: SnackbarDuration)

Parameters

message

text to be shown in the Snackbar

actionLabel

optional action label to be shown in the Snackbar

withDismissAction

whether to show a dismiss action in the Snackbar

duration

duration of the Snackbar