ImageStreamListener class Null safety
Interface for receiving notifications about the loading of an image.
This class overrides operator == and hashCode to compare the individual callbacks in the listener, meaning that if you add an instance of this class as a listener (e.g. via ImageStream.addListener), you can instantiate a different instance of this class when you remove the listener, and the listener will be properly removed as long as all associated callbacks are equal.
- hashCode → int
The hash code for this object. [...]
- onChunk → ImageChunkListener?
Callback for getting notified when a chunk of bytes has been received
during the loading of the image. [...]
- onError → ImageErrorListener?
Callback for getting notified when an error occurs while loading an image. [...]
- onImage → ImageListener
Callback for getting notified that an image is available. [...]
- runtimeType → Type
A representation of the runtime type of the object.