hm21 / pro_image_editor

The pro_image_editor is a Flutter widget designed for image editing within your application. It provides a flexible and convenient way to integrate image editing capabilities into your Flutter project.
https://hm21.github.io/pro_image_editor/
BSD 3-Clause "New" or "Revised" License
94 stars 59 forks source link

[Bug]: Returns invalid image when Done button clicked instantly the moment page loads #166

Closed nirmalyohannan closed 1 month ago

nirmalyohannan commented 1 month ago

Package Version

4.2.8

Flutter Version

3.19.6

Platforms

Android, iOS

How to reproduce?

When the editor screen is loaded it takes few milliseconds to load the image (100 - 800 ms). Meanwhile, the area where the image will come is blank. If image edit done button is clicked within this time, an invalid image data is returned. It would be better if the done button is disabled until the image is displayed.

Logs (optional)

No response

Example code (optional)

No response

Device Model (optional)

Nothing 2a

hm21 commented 1 month ago

Thanks for reporting this issue. I just released version 4.2.9 which should resolve this issue.