feedback icon indicating copy to clipboard operation
feedback copied to clipboard

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

Open mg3994 opened this issue 1 year ago • 4 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

mg3994 avatar Feb 09 '24 17:02 mg3994

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

ueman avatar Feb 09 '24 17:02 ueman

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

mg3994 avatar Feb 10 '24 07:02 mg3994

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

ueman avatar Feb 10 '24 07:02 ueman

chrome

mg3994 avatar Feb 10 '24 08:02 mg3994

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 avatar Mar 05 '24 16:03 ueman

Ok, my fault may be, thanks

mg3994 avatar Mar 06 '24 12:03 mg3994