How idriss-rayan/e_commerceapp works
Project type and purpose
• This is a cross-platform Flutter application scaffolded via flutter create.
• It targets Android (under android/), Web (under web/) and uses Dart code in lib/ for UI, navigation, API calls and local user data.
• Its core features, inferred from the file tree, are user authentication (login/signup), a tab-based dashboard (home, orders, favorites, profile), remote API integration, and local persistence of the current user.
File structure
• Top-level platform folders:
• android/ – native Android project, manifest, Gradle scripts
• Core Dart code under lib/:
• main.dart – app entry point, MaterialApp setup, route logic
• api_connection/ – HTTP client or service layer
• users/authentication/ – login/signup UI screens
• users/fragments/ – bottom-nav fragments (home, orders, favorites, profile)
• users/model/ – User data class
• users/userPreferences/ – local storage of current user (shared_preferences)
• Test folder for widget tests under test/.
README for additional insights
• The README is the default Flutter starter description. No custom architecture notes.
Detail without overthinking
• How main.dart orchestrates startup → auth check → dashboard.
• Your widget navigation flow alongside data/service calls.