Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeflutter_modular

Modular route management and dependency injection organized by feature.

pub.devRemove
get_it

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

pub.devRemove
ScoresHealth8789 (best)
Maintenance79 (best)73
Quality93100 (best)
Popularity8898 (best)
Community8080
Compatibility100100
UsageDownloads (30 days)66k2.6M (best)
Likes1.3k4.7k (best)
Pub points150 / 160160 / 160 (best)
GitHub stars1.4k1.5k (best)
MaintenanceLatest release7.1.1, 2 months ago9.3.0, 2 months ago (best)
Major versions in 12 months10 (best)
Contributors79 (best)48
Publisherflutterando.com.brflutter-it.dev
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAll (pure Dart)
WASM-readyYesYes
KindFlutter widgetsPure Dart
Code generationNoYes
Direct dependencies33
LicenseMITMIT
Setup effortMediumLow
JudgementStrengths
  • Combines dependency injection and routing cleanly into modules.
  • Automatic disposal of page-scoped state tied to route lifecycles.
  • Supports dynamic parameters, submodules, and route guards.
  • 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
Weaknesses
  • Opinionated structure that requires adopting its module pattern across the app.
  • Ground-up rewrite in v7 may require migration effort from older versions.
  • Relies on runtime resolution, meaning missing registrations fail at runtime rather than compile-time
  • Service locator pattern can obscure direct class dependencies if overused
WarningsNoneNone
flutter_modular vs get_it: which Flutter package should you use? | pubscout