showSuccess static method
void
showSuccess({})
显示成功通知
Implementation
static void showSuccess({
int? duration,
String? titleText,
Widget? title,
String? subtitleText,
Widget? subtitle,
bool showProgressBar = false,
ToastificationCallbacks? callbacks,
}) {
_show(
titleText: titleText,
duration: duration,
color: AppTheme.successColor,
backgroundColor: AppTheme.successColorTertiary,
title: title,
subtitleText: subtitleText,
subtitle: subtitle,
showProgressBar: showProgressBar,
callbacks: callbacks,
type: ToastificationType.success,
);
}