ueman/feedback

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

Closed this issue · 6 comments

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

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

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

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

chrome

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.

Ok, my fault may be, thanks