Set an action button.
A text to display in the button.
True if this view is enabled, false otherwise.
This method will be invoked when an action button in the snackbar is clicked.
Set a close button in the snackbar. The button is shown at top right corner in the snackbar.
Set whether the close button is enabled or not.
Set a message. The message is mandatory, so it couldn't be empty.
A text to display in the content.
Sets a listener to be invoked when the snackbar is dismissed.
The OnSnackbarDismissListener to use.
Set whether to persistently display snackbar. The Snackbar by default stays on for 3 seconds and then disappears.
Set whether to persistently display snackbar.
Set whether to prevent duplicated snackbar.
Ignores displaying multiple snackbars with the same 'type', 'title' and 'message'.
Set a progressbar. If this is set, then {@link @mui/material/LinearProgress} will be shown in the snackbar.
Whether allows to enable the indeterminate mode or determinate.
Default progress value. Value between 0 and 100. It is work on only determinate mode.
Set a title text
A text to display in the title.
Set a snackbar type. Available types are:
A type of snackbar.
Generated using TypeDoc
A class to build a snackbar.
1