4Q-s-r-o / signature

Flutter plugin that creates a canvas for writing down a signature
MIT License
255 stars 85 forks source link

Feature Request: pressure-sensitive capture #52

Closed laogao closed 2 years ago

laogao commented 2 years ago

Current version seems to draw points/lines with fixed penStrokeWidth. By utilizing the pressure property in PointEvent one could in theory capture and simulate a more realistic hand-written signature.

laogao commented 2 years ago

Turns out the pressure property isn't very useful for this purpose as it stays in a fixed value, for the most part. Gonna have to find another way. https://pub.dev/packages/perfect_freehand looks promising.