Snackbar
A component used to show a floating notification to the user.
SnackbarHostState controls the showing & dismissal of snackbars.
Show Action & Check for Results
An Action button can be enabled on the snackbar.
When the user clicks on the Action button,
showSnackbar() will return ActionPerformed instead of Dismissed.
Snackbar Customizations
Snackbar's display duration and dismiss action can also be customized.