normal static method
void
normal(
- BuildContext context,
- String message, {
- Duration? duration,
- SnackBarAction? action,
- bool? showCloseButton,
- bool? showProgressIndicator,
- SnackbarPosition? position,
Shows a normal/default snackbar without a specific type.
Implementation
static void normal(
BuildContext context,
String message, {
Duration? duration,
SnackBarAction? action,
bool? showCloseButton,
bool? showProgressIndicator,
SnackbarPosition? position,
}) {
show(
context,
message: message,
backgroundColor: SnackbarColors.normalBackground,
textColor: SnackbarColors.normalText,
icon: null,
duration: duration,
action: action,
showCloseButton: showCloseButton,
showProgressIndicator: showProgressIndicator,
position: position,
);
}