showError static method
void
showError({
- required String message,
- String? title,
- Duration? toastDuration,
- BuildContext? context,
- bool permanent = false,
- List<
GrxToastAction> ? actions,
Implementation
static void showError({
required String message,
String? title,
Duration? toastDuration,
BuildContext? context,
bool permanent = false,
List<GrxToastAction>? actions,
}) => _show(
message: message,
icon: _getIcon(GrxIcons.cancel),
backgroundColor: GrxColors.error,
title: title,
toastDuration: toastDuration,
context: context,
permanent: permanent,
actions: actions,
);