showSuccess static method
Future<void>
showSuccess({
- String? status,
- Duration? duration,
- ExcellentLoadingMaskType? maskType,
- bool? dismissOnTap,
showSuccess status duration maskType
Implementation
static Future<void> showSuccess(
{
String? status,
Duration? duration,
ExcellentLoadingMaskType? maskType,
bool? dismissOnTap,
}) {
Widget w = _instance.successWidget ??
Icon(
Icons.done,
color: ExcellentLoadingTheme.indicatorColor,
size: ExcellentLoadingTheme.indicatorSize,
);
return _instance._show(
status: status,
duration: duration ?? ExcellentLoadingTheme.displayDuration,
maskType: maskType,
dismissOnTap: dismissOnTap,
w: w,
);
}