Firstly thanks for the wonderful package. I would want to know if we can set the height and width of the canvas itself. Currently, we can scroll infinitely and I need to restrict this.
I haven't tested this feature but there is a function setPosition in CanvasStateWriter. So you can set the position to your limit if a user scrolls the canvas more.
Firstly thanks for the wonderful package. I would want to know if we can set the height and width of the canvas itself. Currently, we can scroll infinitely and I need to restrict this.