How achuthandev/orange-pos-app-poc works
Odoo Inventory is a Flutter app whose visible feature structure centers on QR-based authentication and a home screen. The tree also identifies networking, app configuration, and a starter counter feature, but no Dart source or README content was provided, so their runtime interactions and the app’s inventory-specific capabilities cannot be established. The Windows host relationships below are supported by excerpts; other platform and Dart connections are intentionally omitted.
Main entry points: flutter_window.cpp Flutter window host · generated_plugin_registrant.cc Windows plugin registration · main.cpp Windows entry point · app.dart App shell
Components 24
Flutter app
- App shell
lib/app/view/app.dart - App router
lib/app/router/app_router.dart - App configuration
lib/core/config/app_config.dart - Network client
lib/network/dio_provider.dart - API errors
lib/network/api_exception.dart - Home screen
lib/features/home/presentation/pages/home_page.dart - Home app bar
lib/features/home/presentation/widgets/home_app_bar.dart - Session view
lib/features/home/presentation/widgets/login_session_view.dart - Counter feature
lib/counter/cubit/counter_cubit.dart - Counter page
lib/counter/view/counter_page.dart
Authentication
- Login screen
lib/features/authentication/presentation/pages/login_page.dart - QR scanner screen
lib/features/authentication/presentation/pages/qr_scanner_page.dart - QR scanner view
lib/features/authentication/presentation/widgets/qr_scanner_view.dart - QR login button
lib/features/authentication/presentation/widgets/qr_login_button.dart - Login header
lib/features/authentication/presentation/widgets/login_header.dart - Auth provider
lib/features/authentication/presentation/providers/auth_provider.dart - QR login use case
lib/features/authentication/domain/usecases/login_with_qr.dart - Login session
lib/features/authentication/domain/entities/login_session.dart
Desktop host
- Windows entry point
windows/runner/main.cpp - Flutter window host
windows/runner/flutter_window.cpp - Win32 window
windows/runner/win32_window.cpp - Windows plugin registration
windows/flutter/generated_plugin_registrant.cc
Other components
- App user
- Native plugins
Connections 5
- App user → App shell: uses
- Windows entry point → Flutter window host: creates
windows/runner/main.cpp - Flutter window host → Win32 window: inherits and delegates
windows/runner/flutter_window.cpp - Flutter window host → Windows plugin registration: registers plugins
windows/runner/flutter_window.cpp - Windows plugin registration → Native plugins: registers
windows/flutter/generated_plugin_registrant.cc