How yassatamer/souqna works
Souqna is a Flutter application with marketplace, account, and listing feature areas; the README itself describes only a starter Flutter project, so the product purpose is inferred from the source tree. The likely user journey spans app launch, navigation, browsing, and account or listing tasks, but Dart source was not provided to verify routes or service calls. The graph therefore shows feature structure without invented data-flow links; the Windows host relationships are supported by excerpts.
Main entry points: flutter_window.cpp Flutter window · main.cpp Windows entry · win32_window.cpp Win32 window · generated_plugin_registrant.h Plugin registrar
Components 22
App shell
- Flutter entry
lib/main.dart - App root
lib/souqna_app.dart - App router
lib/core/router/app_router.dart - Splash screen
lib/features/splash/presentation/screens/splash_screen.dart - Onboarding
lib/features/onboarding/presentation/screens/onboarding_screen.dart - Main navigation
lib/features/main_navigation/presentation/screens/main_navigation_shell.dart
Marketplace browsing
- Home screen
lib/features/home/presentation/screens/home_screen.dart - Product state
lib/features/home/cubit/products_cubit.dart - Product repository
lib/features/home/data/repositories/product_repository.dart - Product model
lib/features/home/data/models/product_model.dart
Account access
- Authentication
lib/features/auth/cubit/auth_cubit.dart - Login and registration
lib/features/auth/presentation/screens/login_screen.dart - Profile screen
lib/features/profile/presentation/screens/profile_screen.dart - Profile state
lib/features/profile/cubit/profile_cubit.dart - Profile repository
lib/features/profile/data/repositories/profile_repository.dart
Listing management
- My listings
lib/features/products/presentation/screens/my_listings_screen.dart - Edit product
lib/features/products/presentation/screens/add_edit_product_screen.dart
Platform host
- Windows entry
windows/runner/main.cpp - Flutter window
windows/runner/flutter_window.cpp - Win32 window
windows/runner/win32_window.cpp - Plugin registrar
windows/flutter/generated_plugin_registrant.h
Other components
- User
Connections 3
- Windows entry → Flutter window: creates
windows/runner/main.cpp - Flutter window → Win32 window: inherits
- Flutter window → Plugin registrar: registers plugins
windows/runner/flutter_window.cpp