How rendikurniawana77-code/hydrosmart_app works
HydroSmart is a Flutter app for monitoring and controlling a hydroponics system. The likely user workflow spans live telemetry, historical analytics, harvest prediction, controls, and AR monitoring, but the provided README is empty and no Dart implementation was excerpted. The graph therefore preserves the substantial Dart modules named in the tree while avoiding unsupported calls between them; the platform runner entry points are shown only where source excerpts establish their role.
Main entry points: main.dart App entry point · hydro_repository.dart Hydro repository · hydrosmart_provider.dart Hydro provider · main.cpp Windows entry
Components 28
Flutter application
- App entry point
hydrosmart_app/lib/main.dart - Live dashboard
hydrosmart_app/lib/screens/dashboard_screen.dart - AR monitoring
hydrosmart_app/lib/screens/ar_monitoring_screen.dart - Settings
hydrosmart_app/lib/screens/settings_screen.dart - History analytics
hydrosmart_app/lib/widgets/history_analytics_card.dart
Hydroponics data
- Hydro provider
hydrosmart_app/lib/providers/hydrosmart_provider.dart - Hydro repository
hydrosmart_app/lib/repositories/hydro_repository.dart - Telemetry cache
hydrosmart_app/lib/repositories/telemetry_cache.dart - Sensor telemetry
hydrosmart_app/lib/models/telemetry_sample.dart - Sensor data
hydrosmart_app/lib/models/sensor_data.dart - Latest readings
hydrosmart_app/lib/models/hydro_latest.dart - System controls
hydrosmart_app/lib/models/hydro_control.dart - History range
hydrosmart_app/lib/models/history_range.dart - Harvest prediction
hydrosmart_app/lib/models/harvest_prediction.dart - Firebase setup
hydrosmart_app/lib/firebase_options.dart
Platform runners
- Android runner
hydrosmart_app/android/app/src/main/kotlin/com/example/hydrosmart_app/MainActivity.kt - iOS runner
hydrosmart_app/ios/Runner/AppDelegate.swift - Windows entry
hydrosmart_app/windows/runner/main.cpp - Flutter window
hydrosmart_app/windows/runner/flutter_window.cpp - Win32 window
hydrosmart_app/windows/runner/win32_window.cpp - Linux entry
hydrosmart_app/linux/runner/main.cc - Linux application
hydrosmart_app/linux/runner/my_application.cc - Platform plugins
hydrosmart_app/macos/Flutter/GeneratedPluginRegistrant.swift - Windows plugins
hydrosmart_app/windows/flutter/generated_plugin_registrant.cc - Linux plugin declarations
hydrosmart_app/linux/flutter/generated_plugin_registrant.h - Windows utilities
hydrosmart_app/windows/runner/utils.h
Other components
- Hydroponics user
- Firebase services
Connections 16
- Hydroponics user → App entry point: launches
- Windows entry → Flutter window: creates
hydrosmart_app/windows/runner/main.cpp - Windows entry → Windows utilities: gets arguments
hydrosmart_app/windows/runner/main.cpp - Flutter window → Win32 window: extends
- Linux entry → Linux application: creates and runs
hydrosmart_app/linux/runner/main.cc - iOS runner → Platform plugins: registers plugins
hydrosmart_app/ios/Runner/AppDelegate.swift - App entry point → Live dashboard: routes
- App entry point → AR monitoring: routes
- App entry point → Settings: routes
- Live dashboard → Hydro provider: reads state
- Settings → Hydro provider: updates controls
- History analytics → History range: uses range
- Hydro provider → Hydro repository: delegates
- Hydro repository → Firebase services: reads and writes
- Hydro repository → Telemetry cache: caches telemetry
- Hydro repository → Firebase setup: configures