ImageStreamListener constructor

const ImageStreamListener(
  1. ImageListener onImage, {
  2. ImageChunkListener? onChunk,
  3. ImageErrorListener? onError,
})

Creates a new ImageStreamListener.

Implementation

const ImageStreamListener(
  this.onImage, {
  this.onChunk,
  this.onError,
});