FileImage constructor Null safety
Creates an object that decodes a File as an image.
The arguments must not be null.
Implementation
const FileImage(this.file, { this.scale = 1.0 })
: assert(file != null),
assert(scale != null);
Creates an object that decodes a File as an image.
The arguments must not be null.
const FileImage(this.file, { this.scale = 1.0 })
: assert(file != null),
assert(scale != null);