fileImage function
The picture in the file at path, for an Image.
version tells two readings of the same file apart — pass when it was
last changed, and a file saved again is read again rather than shown as
the picture cached the first time. On the web, where there are no files,
the picture fails to load and the Image shows its error.
Implementation
ImageProvider fileImage(String path, {Object? version, double scale = 1}) =>
_FileImageAt(File(path), version, scale: scale);