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