How xeiniya/minsktransportcrossplatform works
MinskTransportCrossplatform is a Flutter transport guide for Minsk, targeting Android, iOS, Linux, and Web (with platform scaffolding also present for macOS and Windows). Its central user journey is browsing routes and stops, then opening route details; favorites, authentication, settings, localization, offline caching, notifications, and adaptive presentation are additional capabilities documented in the README. Dart implementation files were not sampled, so links among those subsystems are not asserted. Native runner nodes cover the indexed platform-hosting modules, not build or delivery machinery.
Main entry points: routes_screen.dart Route browsing · route_detail_screen.dart Route details · route_repository.dart Route repository · main.dart Flutter entry
Components 33
App experience
- Flutter entry
lib/main.dart - App navigation
lib/app/routes.dart - App shell
lib/app/app.dart - Adaptive UI
lib/core/widgets/adaptive_scaffold.dart - Theme settings
lib/core/themes/app_theme.dart - Localization
lib/localization/app_localizations.dart
Transport features
- Authentication
lib/features/auth/providers/auth_provider.dart - Login screen
lib/features/auth/screens/login_screen.dart - Route browsing
lib/features/routes/screens/routes_screen.dart - Route state
lib/features/routes/providers/route_provider.dart - Route map
lib/features/routes/screens/map_screen.dart - Route details
lib/features/routes/screens/route_detail_screen.dart - Route card
lib/features/routes/widgets/route_card.dart - Stop card
lib/features/routes/widgets/stop_card.dart - Favorites
lib/features/favorites/providers/favorites_provider.dart - Favorites screen
lib/features/favorites/screens/favorites_screen.dart - App settings
lib/features/settings/providers/settings_provider.dart - Settings screen
lib/features/settings/screens/settings_screen.dart
Data and services
- Route repository
lib/data/repositories/route_repository.dart - Local database
lib/data/local/database_helper.dart - Route model
lib/data/models/transport_route.dart - Stop model
lib/data/models/route_stop.dart - Connectivity service
lib/services/connectivity_service.dart - Notifications
lib/services/notification_service.dart - Weather service
lib/services/weather_service.dart
Platform hosting
- Linux host
linux/runner/my_application.cc - Linux app API
linux/runner/my_application.h - Windows host
windows/runner/main.cpp - Flutter window
windows/runner/flutter_window.h - Win32 window
windows/runner/win32_window.h - Window implementation
windows/runner/win32_window.cpp - macOS plugins
macos/Flutter/GeneratedPluginRegistrant.swift
Other components
- Transport user
Connections 22
- Transport user → Flutter entry: opens app
README.md - Flutter entry → App shell: starts
- App shell → App navigation: uses navigation
- Transport user → Route browsing: browses routes
README.md - Route browsing → Route details: opens details
README.md - Transport user → Route map: views routes
README.md - Transport user → Login screen: authenticates
README.md - Transport user → Favorites screen: manages favorites
README.md - Transport user → Settings screen: changes settings
README.md - Route browsing → Route card: presents routes
- Route details → Stop card: presents stops
- Route state → Route repository: loads routes
- Route repository → Local database: caches data
README.md - Route repository → Route model: uses model
- Route details → Stop model: uses model
- Transport user → Localization: chooses language
README.md - Transport user → Theme settings: chooses theme
README.md - Transport user → Notifications: receives alerts
README.md - Linux host → Linux app API: implements API
linux/runner/my_application.cc - Windows host → Flutter window: creates window
windows/runner/main.cpp - Flutter window → Win32 window: extends
windows/runner/flutter_window.h - Win32 window → Window implementation: implemented by
windows/runner/win32_window.h