Skip to content
pubscout

modular_core

3.4.1, released a year ago by flutterando.com.br

Injection system and routes for flutter_modular and shelf_modular

WASM-ready
$ flutter pub add modular_core
Source repository

What it does

Provides core injection system and route management capabilities primarily used by flutter_modular and shelf_modular. It handles dependency binding, module imports, and route resolution.

AI-written summary of version 3.4.1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You are building applications using flutter_modular
  • You need modular route management and dependency injection

Skip it when

  • You are looking for a standalone dependency injection container without flutter_modular
  • You prefer standard Flutter navigation and routing

Strengths

  • Integrates seamlessly with flutter_modular and shelf_modular
  • Supports module-based scoping and dependency binding

Weaknesses

  • Primarily designed as an internal core package for modular frameworks rather than direct standalone usage
  • Limited documentation outside of its parent ecosystem

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
3

not documented

not documented

Alternatives

Packages that do the same job and could replace modular_core.

  • get_it

    If you want a standalone service locator and dependency injection tool without modular routing constraints.

  • injectable

    If you prefer code-generation-based dependency injection on top of get_it.

Works with

Packages commonly used together with modular_core: ones it builds on, ones built on it, and its own family.