flutter_image_cropper
flutter_image_cropper copied to clipboard
Unable to load asset
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
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.
@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.
use Image.file to do it