bezier 1.1.5

Dart native js
Flutter Android iOS web

A 2D Bézier curve math library. Based heavily on the work of @TheRealPomax <pomax.github.io/bezierjs>. Live examples can be found at <www.dartographer.com/bezier>.

13
likes
95 / 110
pub points
83 %
popularity

We analyzed this package on Aug 6, 2020, and awarded it 95 pub points (of a possible 110):

Follow Dart file conventions
15 / 20

10/10 points: Provide a valid pubspec.yaml

0/5 points: Provide a valid README.md

Links in `README.md` should be secure. 1 link is insecure.

README.md:2:60

  ╷
2 │ <p>The library was developed, documented, and published by <a href="http://www.aaronbarrett.com">Aaron Barrett</a> and Isaac Barrett.  It is based heavily on the work of <a href="https://pomax.github.io/">Pomax</a>, including his excellent <a href="https://pomax.github.io/bezierinfo/">Primer on Bézier Curves</a> and his original JavaScript library, <a href="https://pomax.github.io/bezierjs/">Bezier.js</a>.</p>
  │                                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

Use https URLs instead.

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
20 / 20

10/10 points: Package has an example

  • Found example at: example/main.dart

10/10 points: 20% or more of the public API has dartdoc comments

  • 66 out of 67 API elements (98.5 %) have documentation comments.
Support multiple platforms
20 / 20

20/20 points: Supports 2 of 2 possible platforms (native, js)

Pass static analysis
20 / 30

20/30 points: code has no errors, warnings, lints, or formatting issues

INFO: Don't access members with `this` unless avoiding shadowing.

lib/src/bezier.dart:63:34

   ╷
63 │     } else if (derivativeOrder > this.order) {
   │                                  ^^^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/src/bezier.dart

Support up-to-date dependencies
20 / 20

10/10 points: All of the package dependencies are supported in the latest version

PackageConstraintCompatibleLatest
vector_math^2.0.02.0.82.0.8

To reproduce run pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

10/10 points: Package supports latest stable Dart and Flutter SDKs

13
likes
95
pub points
83%
popularity

Publisher

dartographer.com

A 2D Bézier curve math library. Based heavily on the work of @TheRealPomax <pomax.github.io/bezierjs>. Live examples can be found at <www.dartographer.com/bezier>.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD (LICENSE)

Dependencies

vector_math

More

Packages that depend on bezier