How vilar95/mobile-sigma works
Sigma is a Flutter medical-service app; the README distinguishes its mobile appointment use from medical management handled by a separate web version. The tree indicates authentication, home, appointment scheduling and history, and support screens, with controllers, models, shared widgets, and an HTTP service layer. The intended user journey is entry, authentication, and appointment activity, with support as a separate capability. Dart implementation excerpts were not provided, so screen-to-controller and service-call relationships are unverified; dashed links mark that limitation. Native runner files are platform hosts, not domain stages.
Main entry points: home_screen.dart Home screen · schedule_screen.dart Find appointments · dio_service.dart HTTP service · auth_screen.dart Authentication
Components 28
Mobile app
- App entry
lib/main.dart - Authentication
lib/screens/auth_screen.dart - Auth controller
lib/controller/auth_screen_controller.dart - Home screen
lib/screens/home_screen.dart - Navigation drawer
lib/screens/widgets/drawer_widget.dart - Support screen
lib/screens/support_screen.dart - Support controller
lib/controller/support_screen_controller.dart - Send support
lib/screens/widgets/show_send_support.dart - Splash screen
lib/screens/splash_screen.dart
Appointment domain
- Find appointments
lib/screens/schedule_screen.dart - Schedule controller
lib/controller/schedule_screen_controller.dart - Doctor specialties
lib/model/speciality_doctor.dart - Registration data
lib/model/register.dart - Booking confirmation
lib/screens/widgets/show_confirm_schecule_dialog.dart - My appointments
lib/screens/my_schedule_screen.dart
Shared app services
- HTTP service
lib/services/dio_service.dart - API endpoints
lib/services/dio_endpoints.dart - App routes
lib/_core/routes/sigma_routes.dart
Platform hosts
- Windows launcher
windows/runner/main.cpp - Windows Flutter host
windows/runner/flutter_window.h - Windows window host
windows/runner/win32_window.h - Linux application host
linux/my_application.cc - Linux launcher
linux/main.cc - Linux plugin registry
linux/flutter/generated_plugin_registrant.h - Windows plugin registry
windows/flutter/generated_plugin_registrant.h - iOS app host
ios/Runner/AppDelegate.swift - macOS plugin registry
macos/Flutter/GeneratedPluginRegistrant.swift
Other components
- Mobile user
Connections 22
- Mobile user → App entry: opens
- App entry → Authentication: routes to
- Authentication → Auth controller: uses
- Authentication → Home screen: continues to
- Home screen → Navigation drawer: offers navigation
- Home screen → Find appointments: opens
- Find appointments → Schedule controller: uses
- Find appointments → Doctor specialties: presents
- Find appointments → Booking confirmation: confirms via
- Home screen → My appointments: opens
- Home screen → Support screen: opens
- Support screen → Support controller: uses
- Support screen → Send support: offers
- Auth controller → HTTP service: calls
- Schedule controller → HTTP service: calls
- Support controller → HTTP service: calls
- HTTP service → API endpoints: uses
- Windows launcher → Windows Flutter host: creates
windows/runner/main.cpp - Windows Flutter host → Windows window host: extends
windows/runner/flutter_window.h - Linux launcher → Linux application host: starts
linux/main.cc - Linux application host → Linux plugin registry: registers
linux/my_application.cc - iOS app host → macOS plugin registry: registers
ios/Runner/AppDelegate.swift