AsyncSnapshotBuilder<T> constructor
const
AsyncSnapshotBuilder<T> ({
- Key? key,
- required Stream<
T> stream, - AsyncSnapshotCallback<
T> ? onNone, - AsyncSnapshotCallback<
T> ? onWaiting, - AsyncSnapshotCallback<
T> ? onActive, - AsyncSnapshotCallback<
T> ? onDone,
Implementation
const AsyncSnapshotBuilder(
{Key? key,
required this.stream,
this.onNone,
this.onWaiting,
this.onActive,
this.onDone})
: super(
key: key,
);