ImageInfo constructor
Creates an ImageInfo object for the given image
and scale
.
The debugLabel
may be used to identify the source of this image.
See details for disposing contract in the class description.
Implementation
ImageInfo({required this.image, this.scale = 1.0, this.debugLabel}) {
assert(debugMaybeDispatchCreated('painting', 'ImageInfo', this));
}