final image = await renderObject.toImage(pixelRatio: pixelRatio); issue
Closed this issue · 6 comments
mg3994 commented
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
ueman commented
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 commented
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 commented
Can you provide a stacktrace? Which web renderer are you using?
mg3994 commented
chrome
ueman commented
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.
mg3994 commented
Ok, my fault may be, thanks