You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some functions like decodeGif blocks the UI. We need to implement isolate spawn to get rid of this block. Isolates are not easy to implement. Because send and receive ports have limitations which data we can send or we can not send. Even if we can succeed to implement an isolate and have a non blocking UI, we still can't give our users a percentage completed progress bar and we need to give a non determinitive circula progress indicator or similar. This will lower the user experience.
Is it possible to implement those blocking functions as async and provide a percentage completed callback like in video watermark package. This will improve our apps' user experience much better.
This package creates a new video by adding a watermark (I assume this process is an heavy calculation like decodeGif) and does not block UI and provides a callback function for how many percent has been completed.
Thanks
The text was updated successfully, but these errors were encountered:
This is a feature request.
Some functions like decodeGif blocks the UI. We need to implement isolate spawn to get rid of this block. Isolates are not easy to implement. Because send and receive ports have limitations which data we can send or we can not send. Even if we can succeed to implement an isolate and have a non blocking UI, we still can't give our users a percentage completed progress bar and we need to give a non determinitive circula progress indicator or similar. This will lower the user experience.
Is it possible to implement those blocking functions as async and provide a percentage completed callback like in video watermark package. This will improve our apps' user experience much better.
https://pub.dev/packages/video_watermark
This package creates a new video by adding a watermark (I assume this process is an heavy calculation like decodeGif) and does not block UI and provides a callback function for how many percent has been completed.
Thanks
The text was updated successfully, but these errors were encountered: