loading static method

ProgressController loading(
  1. String message, {
  2. bool? showProgress,
  3. Duration? duration,
  4. Widget builder(
    1. BuildContext,
    2. double
    )?,
  5. LoadingStyle? style,
})

A wrapper of ShirneDialog.loading

Implementation

static ProgressController loading(
  String message, {
  bool? showProgress,
  Duration? duration,

  /// Custom builder to cover style.builder
  Widget Function(BuildContext, double)? builder,
  LoadingStyle? style,
}) {
  _checkInstance();
  return _instance!.loading(
    message,
    showProgress: showProgress,
    duration: duration,
    builder: builder,
    style: style,
  );
}