How to load images with image.file

后端 未结 11 2134
星月不相逢
星月不相逢 2021-01-01 10:41

I can\'t seem to simply load an image from the hard drive to the screen. Image.network seems straightforward. But I can\'t figure out how to use Image or Image.file. Imag

11条回答
  •  感情败类
    2021-01-01 11:06

    The assets in the pubspec.yaml must be uncommented.
    This will help to load the file image.asset as expected.

提交回复
热议问题