showWarn static method
void
showWarn({})
显示警告通知
Implementation
static void showWarn({
int? duration,
String? titleText,
Widget? title,
String? subtitleText,
Widget? subtitle,
bool showProgressBar = false,
ToastificationCallbacks? callbacks,
}) {
_show(
titleText: titleText,
duration: duration,
color: AppTheme.warnColor,
backgroundColor: AppTheme.warnColorTertiary,
title: title,
subtitleText: subtitleText,
subtitle: subtitle,
showProgressBar: showProgressBar,
callbacks: callbacks,
type: ToastificationType.warning,
);
}