how can I export the screen as an image or PDF in Flutter in high resolution? Is it possible to export the container with background image and textfield with user input as image? I tried this solution (How to take a screenshot of the current widget - Flutter), but the resolution is to bad. I need the screen in different size e.g. 40x60cm, 20x30cm and 300Ddpi.
Have you tried to use pixelRatio?
ui.Image image = await boundary.toImage(pixelRatio: 10);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With