Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

operation failed - throws when toImage() is called #24

Closed
aravindhkumar23 opened this issue Oct 5, 2020 · 2 comments
Closed

operation failed - throws when toImage() is called #24

aravindhkumar23 opened this issue Oct 5, 2020 · 2 comments

Comments

@aravindhkumar23
Copy link

Hi
When we try to convert the painter to image/png it throws error saying "operation failed"
works in most of devices but facing issue in some iOS and some android devices[ tested in samsung s10 and honor devices]

any workaround or solution to get it fixed.

my logic is simple, pasting here....

try{
  var imgToSendBack =await _controller.finish().toPNG();
}catch(e){
print('save image catch error ${e.toString()}');
}
@EP-u-NW
Copy link
Collaborator

EP-u-NW commented May 24, 2021

Can you add a stack trace of the crashes with the most recent flutter version?

@EP-u-NW
Copy link
Collaborator

EP-u-NW commented Jun 25, 2021

I'm closing this for inactivity.

@EP-u-NW EP-u-NW closed this as completed Jun 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant