steveruizok / perfect-freehand-dart

Draw perfect freehand lines—in Flutter.
https://steveruizok.github.io/perfect-freehand-dart/
MIT License
242 stars 36 forks source link

simulatePressure:false with pressure given in the Point is not working #5

Closed AmitKoMail closed 2 years ago

AmitKoMail commented 2 years ago

Hello Steve,

Congratulations on the great library you have provided for drawing. We were completely taken up by the demo which is in Javascript. However, our application is in Flutter/Dart. We found that the example code and the code does not use pressure in generating the outline. If we pass the pressure from the pointer events to the third parameter in the Point and set the simulatePressure to false in the options, there is no effect of the pressure.

We are using XP_Pen Deco 3 for drawing. The same XP-PEN works great on the web demo hosted on https://perfect-freehand-example.vercel.app/

Best regards,

Amit

adil192 commented 2 years ago

Hi @steveruizok, when can we expect a new release to pub.dev with these new changes?