Creates an object that decodes a Uint8List buffer as an image.
The arguments must not be null.
const ResourceImage(this.drawablePath, {this.scale = 1.0});