ImageStreamListener constructor Null safety
- ImageListener onImage,
- {ImageChunkListener? onChunk,
- ImageErrorListener? onError}
Creates a new ImageStreamListener.
The onImage parameter must not be null.
Implementation
const ImageStreamListener(
this.onImage, {
this.onChunk,
this.onError,
}) : assert(onImage != null);