withDismissAction

open override val withDismissAction: Boolean = false

Parameters

withDismissAction

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