Creates an ImageInfo object for the given image and scale.
Both the image and the scale must not be null.
ImageInfo({ this.image, this.scale: 1.0 }) { assert(image != null); assert(scale != null); }