Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeget_it

A fast, type-safe service locator for Dart and Flutter without BuildContext or code generation.

pub.devRemove
lite_ref

A lightweight, no‑dependency DI library for Dart and Flutter.

pub.devRemove
ScoresHealth89 (best)84
Maintenance7399 (best)
Quality100 (best)97
Popularity98 (best)58
Community80 (best)52
Compatibility100100
UsageDownloads (30 days)2.6M (best)7.5k
Likes4.7k (best)30
Pub points160 / 160160 / 160
GitHub stars1.5k (best)19
MaintenanceLatest release9.3.0, 2 months ago1.0.1, today (best)
Major versions in 12 months0 (best)1
Contributors48 (best)3
Publisherflutter-it.devnosy.dev
FitPlatformsAll (pure Dart)Android, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindPure DartFlutter widgets
Code generationYesNo
Direct dependencies32 (best)
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • O(1) lookups using Dart maps with no code-generation overhead or build_runner steps
  • Rich lifecycle management including scopes, async initialization readiness (`allReady`), and LIFO disposal
  • Includes a dedicated DevTools extension to visually inspect registered objects
  • Zero external dependencies, keeping the app size small.
  • Fast lookups without hash‑maps.
  • Built‑in disposal for ChangeNotifier/Disposable objects.
  • Simple API that’s easy to learn.
Weaknesses
  • Relies on runtime resolution, meaning missing registrations fail at runtime rather than compile-time
  • Service locator pattern can obscure direct class dependencies if overused
  • Limited feature set compared to more mature DI containers.
  • No code‑generation support for compile‑time safety.
  • Smaller community and fewer third‑party extensions.
WarningsNoneNone
get_it vs lite_ref: which Flutter package should you use? | pubscout