loading method

Future<T?> loading(
  1. BuildContext context, {
  2. Curve? curve,
  3. bool? dismissible,
  4. Color? barrierColor,
  5. Curve? reverseCurve,
  6. Stream<String>? hintStream,
  7. LoadingOverlayStyle? style,
  8. Stream<double>? progressStream,
  9. bool cancelWithAnime = false,
})

Implementation

Future<T?> loading(
  BuildContext context, {
  Curve? curve,
  bool? dismissible,
  Color? barrierColor,
  Curve? reverseCurve,
  Stream<String>? hintStream,
  LoadingOverlayStyle? style,
  Stream<double>? progressStream,
  bool cancelWithAnime = false,
}) => Loading.show(
  context,
  curve: curve,
  loadFuture: this,
  style: style,
  hintStream: hintStream,
  dismissible: dismissible,
  reverseCurve: reverseCurve,
  barrierColor: barrierColor,
  progressStream: progressStream,
  cancelWithAnime: cancelWithAnime,
);