yellowQ-software / yellowQ-Flutter-Image-Painter

Flutter package for painting on images
MIT License
106 stars 117 forks source link

No longer working on web? #30

Closed kermitdefroghere closed 1 year ago

kermitdefroghere commented 2 years ago

I know image_painter doesn't claim to work on web but it worked great for me months ago. Now, exporting the image does not retain the background image. Only the most recently added foreground objects.

Reverting back to Flutter 2.5 doesn't fix the problem.

Anyone having success using image_painter for web on Flutter 3+?

Might image_painter 1.0 support web?

lively-bigyan commented 2 years ago

Hi @kermitdefroghere. Thank you for opening up the issue. I am glad to know that the image painter worked for you on the web. I have been focused on new developments right now and of course, the lack of maintainers and contributors is an issue that I am dealing with. I will look into the issue and try to come up with a fix for that.

samaralii commented 2 years ago

I'm facing the same issue

sachinbpatil619 commented 1 year ago

yes still facing the same issue, any updates regarding this issue ?

towcar commented 1 year ago

Web works for me. It wasn't initially, so I opened the project/library to try and solve this, and loaded up the example on Web. That worked right away.

I returned to my project and compared the differences in the example. Once I set the height and width my image displayed.

Here is my functioning code

ImagePainter.memory(
      _imageModified,
      key: _painterKey,
      width: 700,
      height: 500,
      controlsAtTop: true,
    )