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

final image = await renderObject.toImage(pixelRatio: pixelRatio); issue #268

Closed
mg3994 opened this issue Feb 9, 2024 · 6 comments
Closed
Labels
bug Something isn't working

Comments

@mg3994
Copy link

mg3994 commented Feb 9, 2024

Version

latest

Library

feedback

Flutter channel

stable

Flutter version

3.16.9

Platform

Web

Details

 final image = await renderObject.toImage(pixelRatio: pixelRatio); bug 

Steps to reproduce

just write something with color and click submit

Output of flutter doctor -v

No response

@mg3994 mg3994 added the bug Something isn't working label Feb 9, 2024
@ueman
Copy link
Owner

ueman commented Feb 9, 2024

Based on what you're writing I have no clue what's broken or how to even reproduce it. Please provide more actionable details.

@mg3994
Copy link
Author

mg3994 commented Feb 10, 2024

nothing much , i am just saying that it works fine till we doesn't write anything with color , after writing with color , and on clicking on submit button in web version it crash

@ueman
Copy link
Owner

ueman commented Feb 10, 2024

Can you provide a stacktrace? Which web renderer are you using?

@mg3994
Copy link
Author

mg3994 commented Feb 10, 2024

chrome

@ueman
Copy link
Owner

ueman commented Mar 5, 2024

Chrome is not a web renderer. Taking screenshots is not supported using the HTML renderer, this already mentioned as a limitation in the readme. I tested again with the CanvasKit renderer and that works.

@ueman ueman closed this as completed Mar 5, 2024
@mg3994
Copy link
Author

mg3994 commented Mar 6, 2024

Ok, my fault may be, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants