How trajetto-pi/trajetto-frontend works
Trajetto is a Flutter mobile app; the README describes only a starter project, so its domain behavior is inferred cautiously from screen and module names. The apparent user journey spans account/role setup, freight browsing and confirmation, and supporting map/search and chat screens. The tree also shows location, geocoding, routing, and route/place models. Source excerpts for the app were not provided, so relationships between these components cannot be verified and are omitted.
Components 24
App entry
- Flutter app
lib/main.dart - Bottom navigation
lib/widgets/custom_bottom_nav_bar.dart
Account setup
- Welcome
lib/screens/welcome_screen.dart - Login
lib/screens/login_screen.dart - Role selection
lib/screens/role_selection_screen.dart - Company registration
lib/screens/register_company_screen.dart - Driver registration
lib/screens/register_driver_screen.dart
Freight workflow
- Freight listings
lib/screens/freight_list_screen.dart - Freight details
lib/screens/freight_detail_screen.dart - Freight confirmation
lib/screens/freight_confirmation_screen.dart - Route model
lib/models/route_model.dart - Success dialog
lib/screens/success_dialog.dart
Maps and places
- Map screen
lib/screens/map_screen.dart - Place search
lib/screens/place_search_screen.dart - Place suggestion
lib/models/place_suggestion.dart - Geocoding
lib/services/geocoding_service.dart - Location service
lib/services/location_service.dart - Routing service
lib/services/routing_service.dart - Floating search bar
lib/widgets/floating_search_bar.dart
Communication and profile
- Chat list
lib/screens/chat_list_screen.dart - Chat detail
lib/screens/chat_detail_screen.dart - Profile
lib/screens/profile_screen.dart - Settings
lib/screens/settings_screen.dart
Other components
- App user