Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributebezier

A 2D Bézier curve math library supporting quadratic and cubic curves.

pub.devRemove
dart_earcut

Performant ear-clipping polygon triangulation algorithm

pub.devRemove
ScoresHealth5051 (best)
Maintenance04 (best)
Quality96 (best)81
Popularity5662 (best)
Community58 (best)41
Compatibility100100
UsageDownloads (30 days)8.5k1.1M (best)
Likes58 (best)10
Pub points150 / 160150 / 160
GitHub stars57 (best)9
MaintenanceLatest release1.2.0, 6 years ago1.2.0, 2 years ago (best)
Major versions in 12 months00
Contributors4 (best)1
Publisherdartographer.comjaffaketchup.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies10 (best)
LicenseBSD-2-CLAUSEISC
Setup effortLowLow
JudgementStrengths
  • Supports both quadratic and cubic 2D Bézier curves
  • Platform-independent and context-independent pure Dart library
  • Includes robust features like offset curves, arc length approximations, and intersection calculations
  • Handles holes and twisted polygons efficiently
  • Supports raw coordinate arrays and Point objects
  • No external dependencies
Weaknesses
  • Limited strictly to 2D math (no 3D curve support)
  • Requires manual integration with vector_math and rendering code
  • Triangulation correctness is not strictly mathematically guaranteed for all degenerate inputs, though it attempts practical results
WarningsNone
  • Single maintainer
bezier vs dart_earcut: which Flutter package should you use? | pubscout