AsyncPhaseListener<T> constructor

const AsyncPhaseListener<T>({
  1. Key? key,
  2. required AsyncPhaseNotifier<T> notifier,
  3. required Widget child,
  4. void onWaiting(
    1. bool
    )?,
  5. void onComplete(
    1. T
    )?,
  6. void onError(
    1. Object?,
    2. StackTrace?
    )?,
})

Implementation

const AsyncPhaseListener({
  super.key,
  required this.notifier,
  required this.child,
  this.onWaiting,
  this.onComplete,
  this.onError,
});