Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributedrift_dev

Generates Dart database code from Drift table definitions as a dev‑dependency.

pub.devRemove
envied_generator

Generates compile‑time Dart constants from .env files for the Envied package.

pub.devRemove
ScoresHealth84 (best)79
Maintenance96 (best)74
Quality7296 (best)
Popularity79 (best)66
Community8080
Compatibility8585
UsageDownloads (30 days)1.6M (best)267k
Likes72 (best)42
Pub points130 / 160150 / 160 (best)
GitHub stars3.3k (best)232
MaintenanceLatest release2.35.3, 12 days ago (best)1.3.10, 8 weeks ago
Major versions in 12 months00
Contributors100+ (best)20
Publishersimonbinder.eucinibulk.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoNo
KindPure DartPure Dart
Code generationYesYes
Direct dependencies258 (best)
LicenseMITMIT
Setup effortMediumMedium
JudgementStrengths
  • Seamless integration with build_runner and the drift ecosystem
  • Supports latest analyzer, cli_util, and build versions
  • Handles reserved Dart keywords and SQL column name conflicts automatically
  • Compile‑time safety and no runtime parsing
  • Built‑in obfuscation of secrets
  • Supports hidden files and .env inheritance
Weaknesses
  • Requires a build step, adding compile time to the workflow
  • Only a dev‑dependency; no runtime functionality on its own
  • Requires build_runner and a code‑gen step
  • Cannot handle dynamic env changes at runtime
WarningsNoneNone
drift_dev vs envied_generator: which Flutter package should you use? | pubscout