info static method
void
info(
- BuildContext context,
- String message, {
- Duration? duration,
- SnackBarAction? action,
- bool? showCloseButton,
- bool? showProgressIndicator,
- SnackbarPosition? position,
Shows an info snackbar with an info icon.
Implementation
static void info(
BuildContext context,
String message, {
Duration? duration,
SnackBarAction? action,
bool? showCloseButton,
bool? showProgressIndicator,
SnackbarPosition? position,
}) {
show(
context,
message: message,
backgroundColor: SnackbarColors.infoBackground,
textColor: SnackbarColors.infoText,
icon: Icons.info,
duration: duration,
action: action,
showCloseButton: showCloseButton,
showProgressIndicator: showProgressIndicator,
position: position,
);
}