Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeinjectable

Convenient code generator for get_it dependency injection.

pub.devRemove
modular_core

Injection system and routes for flutter_modular and shelf_modular

pub.devRemove
ScoresHealth78 (best)67
Maintenance4546 (best)
Quality97 (best)76
Popularity91 (best)54
Community8080
Compatibility100100
UsageDownloads (30 days)470k (best)36k
Likes1.5k (best)14
Pub points160 / 160 (best)140 / 160
GitHub stars6251.4k (best)
MaintenanceLatest release3.0.0, 7 months ago (best)3.4.1, a year ago
Major versions in 12 months10 (best)
Contributors5179 (best)
Publishercodeness.lyflutterando.com.br
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationYesNo
Direct dependencies2 (best)3
LicenseMITMIT
Setup effortMediumLow
JudgementStrengths
  • Reduces boilerplate associated with get_it registrations
  • Supports asynchronous initialization, singletons, factories, and factory parameters
  • Supports environments and named registrations
  • Integrates seamlessly with flutter_modular and shelf_modular
  • Supports module-based scoping and dependency binding
Weaknesses
  • Requires running a code generator (build_runner or lean_builder)
  • Adds an extra build step during development
  • Primarily designed as an internal core package for modular frameworks rather than direct standalone usage
  • Limited documentation outside of its parent ecosystem
WarningsNoneNone
injectable vs modular_core: which Flutter package should you use? | pubscout