Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeembed

Generates Dart code that embeds arbitrary file contents as literals.

pub.devRemove
freezed

Code generation for immutable classes, tagged unions, and cloning without boilerplate.

pub.devRemove
ScoresHealth7596 (best)
Maintenance7492 (best)
Quality96100 (best)
Popularity5193 (best)
Community69100 (best)
Compatibility85100 (best)
UsageDownloads (30 days)16k3.1M (best)
Likes344.5k (best)
Pub points150 / 160160 / 160 (best)
GitHub stars162.2k (best)
MaintenanceLatest release1.7.1, 8 weeks ago4.0.3, 5 weeks ago (best)
Major versions in 12 months00
Contributors6100+ (best)
Publishernorelease.devdash-overflow.net
FitPlatformsAll (pure Dart)Android, iOS, Windows, macOS, Linux
WASM-readyNoNo
KindPure DartFlutter widgets
Code generationYesYes
Direct dependencies10 (best)11
LicenseMITMIT
Setup effortMediumMedium
JudgementStrengths
  • Eliminates runtime file I/O and async handling
  • Supports multiple formats (text, binary, YAML, JSON, TOML)
  • Works with Dart records for structured data
  • Significantly reduces boilerplate code for data models.
  • Supports union types, deep cloning, default values, and asserts.
  • Integrates seamlessly with json_serializable for de/serialization.
Weaknesses
  • Requires build_runner and code generation step
  • Only works for compile‑time known files
  • Limited to Dart‑only projects
  • Requires running a code generator (build_runner) during development.
  • Can introduce steep debugging curves when generated files go out of sync.
WarningsNoneNone
embed vs freezed: which Flutter package should you use? | pubscout