How vawnz/faster_app works
FASTER is a campus emergency-response app for students and FAST medical officers. Its principal workflow is a student sending a room- and floor-localized distress signal, followed by officer monitoring and emergency-history review. The README also documents interactive campus maps and separate role portals. Dart implementation excerpts were not provided, so connections among those app modules are shown as unverified rather than inferred from module names; the Windows host is included only as platform runtime scaffolding.
Main entry points: home_screen.dart Student Home · admin_main_screen.dart Officer Portal · login_screen.dart Login · admin_home_tab.dart Officer Dashboard
Components 26
Student Experience
- Login
lib/modules/auth/login_screen.dart - Student Home
lib/modules/home/home_screen.dart - Campus Map
lib/modules/map/map_screen.dart - Map Layout
lib/modules/map/campus_map_data.dart - Map Search
lib/modules/map/map_search.dart - Distress Signal
lib/modules/home/home_screen.dart - Emergency Contacts
lib/modules/contacts/contacts_screen.dart - First-Aid Guidance
lib/modules/what_to_do/what_to_do_screen.dart - Student Profile
lib/modules/profile/profile_screen.dart
Officer Response
- Officer Dashboard
lib/modules/admin/admin_home_tab.dart - Live Heatmap
lib/modules/admin/admin_heat_map_painter.dart - Emergency History
lib/modules/admin/admin_history_tab.dart - Officer Profile
lib/modules/admin/admin_profile_tab.dart - Officer Portal
lib/modules/admin/admin_main_screen.dart - Distress Record
lib/modules/admin/models/distress_signal.dart - Distress Sync
lib/modules/admin/services/distress_sync_service.dart
Shared App Services
- App Entry
lib/main.dart - Student Record
lib/models/student_profile.dart - Supabase Service
lib/supabase_service.dart
Platform Runtime
- Windows Entry
windows/runner/main.cpp - Flutter Window
windows/runner/flutter_window.cpp - Win32 Window
windows/runner/win32_window.cpp - Plugin Registration
windows/flutter/generated_plugin_registrant.cc
Other components
- Student
- FAST Officer
- Supabase
Connections 23
- Student → Login: opens portal
- FAST Officer → Login: opens portal
- Login → Student Home: enters student view
- Student → Distress Signal: sends SOS
- Distress Signal → Officer Dashboard: delivers signal
- Student Home → Campus Map: opens map
- Campus Map → Map Layout: uses layout
- Campus Map → Map Search: supports search
- Student Home → Emergency Contacts: offers contacts
- Student Home → First-Aid Guidance: offers guidance
- Student Home → Student Profile: opens profile
- Student Profile → Student Record: uses record
- Login → Officer Portal: enters officer view
- Officer Portal → Officer Dashboard: shows dashboard
- Officer Dashboard → Live Heatmap: renders heatmap
- Officer Portal → Emergency History: shows history
- Officer Portal → Officer Profile: shows profile
- Officer Dashboard → Distress Record: shows signal details
- Distress Sync → Supabase Service: uses service
- Supabase Service → Supabase: syncs data
- Windows Entry → Flutter Window: creates host
windows/runner/main.cpp - Flutter Window → Win32 Window: inherits window
- Flutter Window → Plugin Registration: registers plugins
windows/runner/flutter_window.cpp