action

Parameters

action

An optional SnackbarAction that defines an action button for the Snackbar. Defaults to null, meaning no action button will be shown.