Home > Blockchain >  How to use image_cropper in flutter web?
How to use image_cropper in flutter web?

Time:09-12

It's said in the description of the package that is supports web. But since it's not possible to get path of the file in flutter web I can't to use it. Because the only way to work with this package is to provide path of the image

CodePudding user response:

I looked at the example and you have to use Image.network instead of Image.file on web.

Then you can pass in the url to the image like this:

Image.network(
   url,
);

CodePudding user response:

if you what to crop image than check out crop_image package

  • Related