AsyncSnapshotBuilder<T> constructor

const AsyncSnapshotBuilder<T>({
  1. Key? key,
  2. required Stream<T> stream,
  3. AsyncSnapshotCallback<T>? onNone,
  4. AsyncSnapshotCallback<T>? onWaiting,
  5. AsyncSnapshotCallback<T>? onActive,
  6. AsyncSnapshotCallback<T>? onDone,
})

Implementation

const AsyncSnapshotBuilder(
    {Key? key,
    required this.stream,
    this.onNone,
    this.onWaiting,
    this.onActive,
    this.onDone})
    : super(
        key: key,
      );