const FileImage(File file, { double scale: 1.0 })

Creates an object that decodes a File as an image.

The arguments must not be null.

Source

const FileImage(this.file, { this.scale: 1.0 });