Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributebuild_cli

Parse command line arguments directly into an annotation class using build_runner or a standalone CLI.

pub.devRemove
dart_mappable

JSON serialization and data classes generator supporting generics, inheritance, and customization.

pub.devRemove
ScoresHealth8289 (best)
Maintenance93 (best)85
Quality100100
Popularity5383 (best)
Community6980 (best)
Compatibility85100 (best)
UsageDownloads (30 days)45k513k (best)
Likes22470 (best)
Pub points160 / 160160 / 160
GitHub stars63242 (best)
MaintenanceLatest release2.3.2, 5 weeks ago (best)4.10.0, 2 months ago
Major versions in 12 months00
Contributors619 (best)
Publisherkevmoo.comschultek.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoYes
KindPure DartPure Dart
Code generationYesYes
Direct dependencies123 (best)
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Supports running as a standalone CLI or with build_runner.
  • Uses package:args under the hood.
  • Handles custom types like enums and generated helpers automatically.
  • Full support for generics, polymorphism, and inheritance.
  • All-in-one package generating serialization, equality, toString, and copyWith.
  • Highly flexible with mapping hooks and custom configuration options.
Weaknesses
  • Requires code generation steps in your workflow.
  • Requires running build_runner for code generation.
  • toJson() returns a String rather than a Map<String, dynamic>, which requires attention when migrating from other packages.
WarningsNoneNone
build_cli vs dart_mappable: which Flutter package should you use? | pubscout