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
stark

A lightweight, reflection‑free DI framework for Dart and Flutter.

pub.devRemove
ScoresHealth89 (best)43
Maintenance73 (best)1
Quality100 (best)96
Popularity98 (best)14
Community80 (best)41
Compatibility100100
UsageDownloads (30 days)2.6M (best)848
Likes4.7k (best)9
Pub points160 / 160 (best)150 / 160
GitHub stars1.5k (best)7
MaintenanceLatest release9.3.0, 2 months ago (best)4.0.0, 3 years ago
Major versions in 12 months00
Contributors48 (best)1
Publisherflutter-it.devsoftarch.dev
FitPlatformsAll (pure Dart)Android, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindPure DartFlutter widgets
Code generationYesNo
Direct dependencies30 (best)
LicenseMITAPACHE-2.0
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
  • No reflection – works on all Flutter platforms
  • Supports scoped lifetimes and disposable cleanup
  • Simple, easy‑to‑read API
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 compile‑time checks, runtime errors if types mismatch
  • Limited advanced features compared to larger containers
  • Manual registration can become verbose in large apps
WarningsNoneNone
get_it vs stark: which Flutter package should you use? | pubscout