Enums: Snackbar
Control snackbar placement across the viewport.
Snackbar enums let you choose consistent notification placement so feedback appears where users expect it.
How it works
Set SnackbarLocation to position snackbars at the top, bottom, or edges of the screen.
Examples
SnackbarLocation.BottomEndfor unobtrusive alerts.SnackbarLocation.TopStartfor prominent banners.SnackbarLocation.Bottomfor centered bottom messages.
Reference
SnackbarLocation
DefaultDefault behavior, same asBottom.BottomShow the snackbar on the bottom side of the screen.BottomStartShow the snackbar on the bottom-start side of the screen.BottomEndShow the snackbar on the bottom-end side of the screen.TopShow the snackbar on the top side of the screen.TopStartShow the snackbar on the top-start side of the screen.TopEndShow the snackbar on the top-end side of the screen.