How kasimertugrul/castapp works
Castapp is a Flutter app for presenting actors’ filmographies as career timelines, initially for users in Türkiye and India, with Turkish UI text and TMDB as its data source. Its intended user journey is entering the app, completing locale/region onboarding, then viewing the career-map experience; the tree identifies splash, onboarding and home screens, but their runtime wiring was not sampled. The README documents GetX routing/DI, a presentation-to-repository-to-datasource structure, Hive caching and responsive layouts. Dashed edges mark workflow or integration details not verified in the excerpts.
Main entry points: app_widget.dart App widget · home_page.dart Career map home · onboarding_controller.dart Onboarding controller · main.dart App bootstrap
Components 22
App shell
- App bootstrap
lib/main.dart - Routes and DI
lib/app/routes/app_routes.dart - App widget
lib/app/app_widget.dart
User experience
- Splash screen
lib/features/splash/presentation/pages/splash_page.dart - Splash controller
lib/features/splash/presentation/controllers/splash_controller.dart - Onboarding screen
lib/features/onboarding/presentation/pages/onboarding_page.dart - Onboarding controller
lib/features/onboarding/presentation/controllers/onboarding_controller.dart - Onboarding preferences
lib/features/onboarding/domain/models/onboarding_preferences.dart - Career map home
lib/features/home/presentation/pages/home_page.dart - Home controller
lib/features/home/presentation/controllers/home_controller.dart
Data access
- Repositories
lib/core/base/base_repository.dart - Data sources
lib/core/base/base_remote_data_source.dart - Onboarding local source
lib/features/onboarding/data/onboarding_local_data_source.dart - Onboarding repository
lib/features/onboarding/data/onboarding_repository.dart
Shared services
- Hive storage
lib/core/storage/hive_service.dart - HTTP client
lib/core/network/dio_client.dart - Connectivity
lib/core/network/connectivity_service.dart - Turkish localization
lib/core/l10n/app_l10n.dart - Responsive breakpoints
lib/core/responsive/breakpoints.dart - TMDB images
lib/core/widgets/tmdb_image.dart
Other components
- App user
- TMDB API
Connections 19
- App user → App bootstrap: opens app
- App bootstrap → App widget: starts
- App widget → Routes and DI: uses routes
- App user → Splash screen: enters
- Splash screen → Onboarding screen: continues to
- Onboarding screen → Career map home: continues to
- Career map home → App user: presents career map
- Onboarding controller → Onboarding repository: uses
- Onboarding repository → Onboarding local source: delegates to
- Onboarding local source → Hive storage: persists preferences
- Onboarding controller → Onboarding preferences: updates
- Career map home → Repositories: presentation to repository
README.md - Repositories → Data sources: repository to datasource
README.md - Data sources → HTTP client: uses HTTP
- HTTP client → TMDB API: requests film data
README.md - Career map home → TMDB images: displays images
README.md - App widget → Turkish localization: uses text
README.md - App widget → Responsive breakpoints: adapts layout
README.md - Splash controller → Routes and DI: navigation