How to use image_cropper in flutter web?

Viewed 26

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

2 Answers

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,
);

if you what to crop image than check out crop_image package

Related