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
scope

A Dart library for dependency injection using scopes and call‑stack based values.

pub.devRemove
ScoresHealth89 (best)50
Maintenance73 (best)11
Quality100 (best)96
Popularity98 (best)66
Community80 (best)46
Compatibility100100
UsageDownloads (30 days)2.6M (best)244k
Likes4.7k (best)14
Pub points160 / 160 (best)150 / 160
GitHub stars1.5k (best)3
MaintenanceLatest release9.3.0, 2 months ago (best)5.1.0, 2 years ago
Major versions in 12 months00
Contributors48 (best)2
Publisherflutter-it.devonepub.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationYesNo
Direct dependencies31 (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
  • Simple, zero‑boilerplate API
  • Supports nested scopes and temporary overrides
  • Works with pure Dart, no Flutter dependency
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
  • No code‑gen or compile‑time safety
  • Not integrated with Flutter widget tree like Provider
  • Async run change may break existing code
WarningsNoneNone
get_it vs scope: which Flutter package should you use? | pubscout