showWarningSnackBar method
Future<bool>
showWarningSnackBar(
- String message, {
- String? title,
- SnackBarContent content = const SnackBarContent(id: "warning_snack_bar"),
Shows a warning-themed SnackBar with the provided warning message.
Example:
context.showWarningSnackBar("This is a warning message");
Implementation
Future<bool> showWarningSnackBar(
String message, {
String? title,
SnackBarContent content = const SnackBarContent(id: "warning_snack_bar"),
}) {
return Dialogs.i.snackBarWarning(
this,
message,
title: title,
content: content,
);
}