catmull_rom_spline_curve 0.0.1 copy "catmull_rom_spline_curve: ^0.0.1" to clipboard
catmull_rom_spline_curve: ^0.0.1 copied to clipboard

A new Flutter package to help drawing Curves using Catmull-Rom Interpolation.

Catmull-Rom Curve

Features #

Now You can Draw Fitted Curves easily just using points Offsets.

Alt text

Getting started #

using CatmullCurve.drawCurve() Function that will return a CustomPaint waiting to be placed inside your "Constrained Sized" Widget

Constrains #

Required : -List of Offset "points of the curve", -Color "Curve color" -double "Curve Stroke Width" -PaintingStyle "Define Curve Style",

Optional : -bool drawPoints "If you want to draw the points of your curve, Set this to true" -double? pointsStrokeWidth "Specify the stroke width of your points, Default set to 2x Curve Stroke Width " -Color pointcolor "Specify the points color, Default set to Red"

Usage #

/example f

`

Additional information #

4
likes
150
pub points
19%
popularity

Publisher

verified publishermoaly.dev

A new Flutter package to help drawing Curves using Catmull-Rom Interpolation.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on catmull_rom_spline_curve