showSuccess static method

Future<void> showSuccess(
  1. String status, {
  2. Duration? duration,
  3. EasyLoadingMaskType? maskType,
  4. 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,
  );
}