- Fixed an error in
toJson()
whentaperEnabled
is true butcustomTaper
is null.
- Fixed an error that occured when trying to lerp a NaN point.
- Added
toJson()
andfromJson()
methods toStrokeOptions
.
- Breaking change: The properties of
StrokeOptions
are now non-nullable. This means that e.g.StrokeOptions.smoothing
now defaults toStrokeOptions.defaultSmoothing
instead ofnull
. Note that you can change the defaults.
- Breaking change:
getStroke(points, options)
is nowgetStroke(points, options: options)
. - You can now run
getStroke(points, rememberSimulatedPressure: true)
to store the simulated pressure values in thepoints
list. (#12)
- Fixed an edge case where we have an input of two equal points.
- 2.0.0 is a complete re-port of the original JavaScript library to Dart. There are some breaking changes, but the API is mostly the same and some automatic migration is possible by running
dart fix --apply
.
- One more fix to README.
- Pub score optimizations.
- Improve README.
- Add FUNDING.
- Fix README.
- Fix README.
- Initial version