How murihat/starterkit_mrh works
Starterkit MRH is a Flutter Material 3 app foundation, not a completed backend product. Its main runtime path is bootstrap → global providers and app shell → router → splash, then Home; Home and Account share bottom navigation. Separate UI routes cover login/signup and maintenance, but the README says authentication and feature-specific backend flows are not implemented. The graph reflects documented composition and shared capabilities; source excerpts mainly cover native runners, so internal Dart call details are based on README statements rather than inspected Dart code.
Main entry points: app_router.dart App router · bootstrap.dart Bootstrap · app.dart App shell · main.dart Dart entry
Components 23
App composition
- Dart entry
lib/main.dart - Bootstrap
lib/app/bootstrap.dart - App config
lib/app/config/app_config.dart - Dependency injection
lib/app/di/injection.dart - Global providers
lib/app/providers/app_providers.dart - App shell
lib/app/app.dart - App router
lib/app/routes/app_router.dart
User interface
- Splash screen
lib/features/splash/presentation/screens/splash_screen.dart - Home screen
lib/features/home/presentation/screens/home_screen.dart - Main navigation
lib/features/main_navigation/presentation/screens/main_navigation_screen.dart - Account screen
lib/features/account/presentation/screens/account_screen.dart - Login screen
lib/features/login/presentation/screens/login_screen.dart - Signup screen
lib/features/signup/presentation/screens/signup_screen.dart - Maintenance screen
lib/features/maintenance/presentation/screens/maintenance_screen.dart
Shared state
- Connectivity wrapper
lib/core/wrappers/connectivity/presentation/screens/connectivity_screen.dart - Security wrapper
lib/core/wrappers/security/presentation/screens/security_screen.dart - Global state
lib/core/states - Theme and locale
lib/core/states/theme/theme_cubit.dart
Shared services
- Secure storage
lib/core/services/storage/storage_service.dart - Device services
lib/core/services/device/device_service.dart - HTTP client
lib/core/network/api_client.dart
Other components
- App user
- Backend API
Connections 25
- App user → Dart entry: launches
README.md - Dart entry → Bootstrap: calls
README.md - Bootstrap → App config: loads environment
README.md - Bootstrap → Dependency injection: registers dependencies
README.md - Bootstrap → Global providers: starts providers
README.md - Global providers → Global state: creates state
README.md - Global providers → Dependency injection: uses services
README.md - Dart entry → App shell: runs
README.md - App shell → App router: installs routing
README.md - App shell → Connectivity wrapper: wraps content
README.md - App shell → Security wrapper: wraps content
README.md - App router → Splash screen: opens
README.md - Splash screen → Home screen: redirects after delay
README.md - App router → Login screen: routes to
README.md - App router → Signup screen: routes to
README.md - App router → Maintenance screen: routes to
README.md - App router → Main navigation: hosts branches
README.md - Main navigation → Home screen: shows branch
README.md - Main navigation → Account screen: shows branch
README.md - Connectivity wrapper → Global state: reads connection state
README.md - Security wrapper → Global state: reads security state
README.md - Theme and locale → Secure storage: loads preferences
README.md - Theme and locale → Secure storage: persists preferences
README.md - Device services → Secure storage: persists device ID
README.md - HTTP client → Backend API: sends HTTP requests
README.md