showError static method
void
showError({})
显示错误通知
Implementation
static void showError({
int? duration,
String? titleText,
Widget? title,
String? subtitleText,
Widget? subtitle,
bool showProgressBar = false,
ToastificationCallbacks? callbacks,
}) {
_show(
titleText: titleText,
duration: duration,
color: AppTheme.errorColor,
backgroundColor: AppTheme.errorColorTertiary,
title: title,
subtitleText: subtitleText,
subtitle: subtitle,
showProgressBar: showProgressBar,
callbacks: callbacks,
type: ToastificationType.error,
);
}