XFileImage constructor

const XFileImage(
  1. XFile file, {
  2. double scale = 1.0,
})

Creates an object that decodes a XFile as an image.

The arguments must not be null.

Implementation

const XFileImage(this.file, {this.scale = 1.0});