flutter_image_cropper icon indicating copy to clipboard operation
flutter_image_cropper copied to clipboard

Unable to load asset

Open UlanNurmatov opened this issue 4 years ago • 3 comments

I'm trying to show the cropped image on the new screen, but after cropping, sometimes (not always) I get this error

Unable to load asset: /data/user/0/com.ulan.exampleapp/cache/image_cropper_1600097858039.jpg

UlanNurmatov avatar Sep 14 '20 15:09 UlanNurmatov

The cropped images are saved in Cache folder, as I mention on README, the data in this folder is stored permanently. So, after having result from cropper plugin, you need to save it somewhere else.

hnvn avatar Sep 28 '20 07:09 hnvn

@UlanNurmatov where you able to solve this? After some testing I realized that this only happends the first time you use the cropper. After a hot reload it shows the image.

Thank you.

HugoIracheta avatar Mar 05 '21 04:03 HugoIracheta

use Image.file to do it

wanchangchang avatar Jun 17 '21 15:06 wanchangchang