ProgressWidget constructor

const ProgressWidget({
  1. Key? key,
  2. bool showProgress = false,
  3. String? message,
  4. void onListen(
    1. AnimationController
    )?,
  5. VoidCallback? onDispose,
  6. Widget builder(
    1. BuildContext,
    2. double
    )?,
  7. LoadingStyle? style,
})

Implementation

const ProgressWidget({
  Key? key,
  this.showProgress = false,
  this.message,
  this.onListen,
  this.onDispose,
  this.builder,
  this.style,
})  : assert(
        !showProgress || (showProgress && onListen != null),
        'Must provide a Listener when showProgress',
      ),
      super(key: key);