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
yx_scope

A compile-safe dependency injection framework with advanced scoping capabilities.

pub.devRemove
ScoresHealth89 (best)84
Maintenance7379 (best)
Quality100100
Popularity98 (best)64
Community8080
Compatibility100100
UsageDownloads (30 days)2.6M (best)8.3k
Likes4.7k (best)72
Pub points160 / 160160 / 160
GitHub stars1.5k (best)64
MaintenanceLatest release9.3.0, 2 months ago1.2.2, 6 weeks ago (best)
Major versions in 12 months00
Contributors48 (best)11
Publisherflutter-it.devdev.go.yandex
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
  • Compile-safe access to dependencies and existence of active scopes
  • No code generation required
  • Supports asynchronous dependencies and custom scope nesting
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
  • Requires manual declaration of dependency containers and scopes
  • Less community-standard compared to global service locators
WarningsNoneNone
get_it vs yx_scope: which Flutter package should you use? | pubscout