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