showNotificationError static method
void
showNotificationError({
- required String title,
- String? subtitle,
- GestureTapCallback? onTap,
- bool crossPage = true,
显示错误通知
Implementation
static void showNotificationError({
required String title,
String? subtitle,
GestureTapCallback? onTap,
bool crossPage = true,
}) {
_showNotification(
title: title,
color: AppTheme.errorColor,
backgroundColor: AppTheme.errorColorTertiary,
subtitle: subtitle,
onTap: onTap,
icon: CupertinoIcons.clear_circled,
crossPage: crossPage,
);
}