How pankaj1101/flutter-modular-architecture works
This is a Flutter modular-architecture application, with feature modules for login, dashboard, profile, and settings, plus shared core logic and centralized routing. The intended user-facing flow is navigation among these feature areas through the central route registry; the README gives login and dashboard as route examples. Dart implementation excerpts were not provided, so the graph follows documented structure and capabilities rather than asserting runtime calls or a specific post-login transition.
Main entry points: app_routes.dart Route registry · main.dart App entry · login_routes.dart Login routes · dashboard_routes.dart Dashboard routes
Components 13
App shell
- App entry
lib/main.dart
Shared core
- Route registry
lib/core/routes/app_routes.dart - Shared state
modules/core/lib/app_state.dart
Feature modules
- Login
modules/login/lib/login.dart - Login routes
modules/login/lib/login_routes.dart - Dashboard
modules/dashboard/lib/dashboard.dart - Dashboard routes
modules/dashboard/lib/dashboard_routes.dart - Profile
modules/profile/lib/profile.dart - Profile routes
modules/profile/lib/profile_routes.dart - Settings
modules/setting/lib/setting.dart - Settings routes
modules/setting/lib/setting_routes.dart - Settings screen
modules/setting/lib/setting_screen.dart
Other components
- User
Connections 7
- User → App entry: uses
- App entry → Route registry: starts navigation
- Login routes → Route registry: register routes
README.md - Dashboard routes → Route registry: register routes
README.md - Profile routes → Route registry: register routes
README.md - Settings routes → Route registry: register routes
README.md - Settings → Settings screen: uses screen