Poor performance of canvas + gesture detector when used on android tablet #4545
BCheong1990
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am working on a flet app with a canvas to draw on. It is based on the canvas example here and it works well on my desktop. However, when I try using it on my android tablet Samsung S7 Fe, the drawing performance is quite bad (lag + weird interactions when i draw larger objects) and I really need it to work properly...
Looking around, could this be due to the cp.shapes.append(cv.Line(...)) method?
I came across this post (https://ivanstajcer.medium.com/flutter-drawing-erasing-and-undo-with-custompainter-6d00fec2bbc2) that talks about using paths instead.
Do you think that this is the way forward?
Beta Was this translation helpful? Give feedback.
All reactions