fix: Devices resolution and orientation issue
Hi,
Description
I use a Android and a Windows device. When I draw on the Windows device the screen and area is way larger. When I open the saved scribble via JSON on my Android device I can not see everything drawn. Is there a way to solve it? Maybe scrolling?
Steps To Reproduce
1.'Open app with scribble on large window device' 2. Draw on full area and save it 3. Open saved scribble from JSON on small device like a phone
This can also be reproduced by changing the device orientation without another device.
@timcreatedit Hi, do you think there is a workaround for this? Would be a cool feature to support. I am not sure what the best solution is but probably like scrolling?
You can handle this on the widget layer. Scribble purposefully doesn't have an opinion on this. Try wrapping your drawing area in a SizedBox so it has the same size on all devices.
You can then wrap that in FittedBox, or InteractiveViewer if you want the user to be able to zoom and pan around the drawing.