fluttercandies / flutter_drawing_board

A new Flutter package of drawing board
MIT License
194 stars 68 forks source link

[Feature request] Fix the canvas #39

Closed AliYar-Khan closed 8 months ago

AliYar-Khan commented 11 months ago

Platforms

Android, iOS, macOS, Web, Windows, Linux

Description

I am trying to make the canvas fixed but there is no option currently available.

Why

I am trying to make the canvas fixed but there is no option currently available.

AliYar-Khan commented 11 months ago

https://github.com/fluttercandies/flutter_drawing_board/assets/37889962/b3a19503-9719-4103-8bf5-73129ef21416

As you can see here the canvas is moving. I want to fix its position!

xSILENCEx commented 8 months ago

Use boardPanEnabled: false to disable dragging Use boardScaleEnabled: false to disable scaling

DrawingBoard(
  boardPanEnabled: false,
  boardScaleEnabled: false
)

If you still have problems, please open this issues again

xSILENCEx commented 8 months ago

Duplicate with #34