Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributecucumber_messages

Dart types and helpers for Cucumber message protocol (NDJSON).

pub.devRemove
json_annotation

Provides annotations for json_serializable to generate JSON (de)serialization code.

pub.devRemove
ScoresHealth8084 (best)
Maintenance95 (best)70
Quality94 (best)81
Popularity2697 (best)
Community8080
Compatibility100100
UsageDownloads (30 days)10k16M (best)
Likes51.3k (best)
Pub points160 / 160 (best)150 / 160
GitHub stars411.6k (best)
MaintenanceLatest release35.0.0, 9 days ago (best)4.12.0, 6 months ago
Major versions in 12 months20 (best)
Contributors3751 (best)
Publishercucumber.iogoogle.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies0 (best)1
LicenseMITBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Fully generated from official Cucumber JSON schemas
  • Zero runtime dependencies
  • Supports NDJSON streaming out of the box
  • Small, zero‑runtime‑overhead package.
  • Works with Dart 3 and newer SDKs.
  • Provides fine‑grained control via JsonKey options.
Weaknesses
  • No runtime features beyond generated models
  • No built‑in test runner or BDD framework
  • Requires a separate code‑gen step with build_runner and json_serializable.
  • Only useful when paired with a generator; on its own it does nothing.
WarningsNoneNone
cucumber_messages vs json_annotation: which Flutter package should you use? | pubscout