Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributetoor

Compile-time safe and easy to manage service locators for Dart and Flutter.

pub.devRemove
yx_scope

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

pub.devRemove
ScoresHealth4383 (best)
Maintenance178 (best)
Quality81100 (best)
Popularity2464 (best)
Community4680 (best)
Compatibility100100
UsageDownloads (30 days)1.3k8.5k (best)
Likes972 (best)
Pub points150 / 160160 / 160 (best)
GitHub stars764 (best)
MaintenanceLatest release2.0.0, 3 years ago1.2.2, 6 weeks ago (best)
Major versions in 12 months00
Contributors211 (best)
Publisherfperson.devdev.go.yandex
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies11
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Compile-time safety for service locators.
  • Supports multiple instances of Toor for isolated domains or testing.
  • No code generation setup required.
  • Compile-safe access to dependencies and existence of active scopes
  • No code generation required
  • Supports asynchronous dependencies and custom scope nesting
Weaknesses
  • Manual wiring of dependencies.
  • Lacks advanced dependency graph validation tools found in codegen-based DI.
  • Requires manual declaration of dependency containers and scopes
  • Less community-standard compared to global service locators
WarningsNoneNone
toor vs yx_scope: which Flutter package should you use? | pubscout