showSuccess static method

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