Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeinject_annotation

Constructor-based compile-time dependency injection framework for Dart and Flutter.

pub.devRemove
pine

A lightweight architecture helper for Flutter projects using Provider and BLoC.

pub.devRemove
ScoresHealth76 (best)66
Maintenance62 (best)50
Quality100 (best)96
Popularity70 (best)48
Community58 (best)46
Compatibility100100
UsageDownloads (30 days)143k (best)4.3k
Likes2222
Pub points160 / 160 (best)150 / 160
GitHub stars1443 (best)
MaintenanceLatest release1.2.1, 3 months ago (best)1.0.4, 2 years ago
Major versions in 12 months00
Contributors4 (best)2
Publisherdasralph.demylittlesuite.com
FitPlatformsAll (pure Dart)Android, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindPure DartFlutter widgets
Code generationYesNo
Direct dependencies1 (best)2
LicenseMITMIT
Setup effortMediumLow
JudgementStrengths
  • Compile-time validation catches wiring issues and cycles early
  • Zero runtime overhead and no reflection
  • Refactor-safe with strong Flutter and view model integration
  • Simplifies wiring up layered architectures with BLoC and Provider.
  • Makes testing easier by allowing mock dependency injection via DependencyInjectorHelper.
Weaknesses
  • Requires running build_runner for code generation
  • Strictly enforces constructor injection
  • Tight coupling to Provider and Flutter BLoC.
  • Limited feature set beyond basic dependency organization.
WarningsNoneNone
inject_annotation vs pine: which Flutter package should you use? | pubscout