modular_core
3.4.1, released a year ago by flutterando.com.br
Injection system and routes for flutter_modular and shelf_modular
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 documentedAlternatives
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.
89Compare - injectable
If you prefer code-generation-based dependency injection on top of get_it.
78Compare
Works with
Packages commonly used together with modular_core: ones it builds on, ones built on it, and its own family.
- charactersmodular_core depends on itUnicode and grapheme cluster aware string manipulation operations for Dart.
- auto_injectormodular_core depends on itAutomatic dependency injection system for Dart and Flutter without build_runner.
- flutter_modularSame familyModular route management and dependency injection organized by feature.
- vadenSame familyA Dart backend framework inspired by Spring Boot, using annotations for controllers, DI, and OpenAPI docs.
- modular_testBuilt on modular_coreInitialize modules and test module integration in Flutter.