showError static method
void
showError(
- String message, {
- String? title,
- Duration duration = const Duration(seconds: 4),
- BuildContext? context,
Muestra un SnackBar de error (rojo)
Implementation
static void showError(
String message, {
String? title,
Duration duration = const Duration(seconds: 4),
BuildContext? context,
}) {
show(
message,
title: title,
tone: GpSemanticTone.danger,
duration: duration,
context: context,
);
}