How arnavkode/e-summit works
1. Purpose and Platform
E-SUMMIT’25 is an unreleased cross-platform Flutter client for TIET/TVC’s entrepreneurship festival. It provides event discovery/content screens and Supabase-backed user authentication, with planned ticket verification and media broadcasting.
Flutter application code is rooted at lib/; platform hosts support Android, iOS, web, Linux, macOS, and Windows.
2. Application Entry and Startup
lib/main.dart is the Flutter entry point and application composition boundary. Startup UI and first-run progression are represented by lib/pages/splash_screen.dart and lib/pages/welcome_page.dart.
Native launchers initialize Flutter rather than implement business behavior:
• android/app/src/main/kotlin/com/example/e_summit25/MainActivity.kt
• ios/Runner/AppDelegate.swift
• web/index.html
3. Authentication Boundary
Authentication is centralized under services:
• lib/services/Auth_services.dart
• lib/services/Auth_gate.dart
The auth gate likely selects authenticated versus unauthenticated application flow. UI flows cover login, signup, OTP verification/re-authentication, and password recovery:
• lib/pages/login_page.dart
• lib/pages/signup_page.dart
• lib/pages/OTP_page.dart
• lib/off pages/Reset_password.dart
Supabase is the material backend dependency for user management and data handling. SMTP servers deliver OTP-based signup and verification messages; Flutter clients should treat both as external service boundaries.
4. Primary User and Navigation Flow
The expected control path is startup → welcome/auth gate → login/signup or OTP/password recovery → dashboard/account/event content. The main signed-in experience is organized around:
• lib/pages/dashboard.dart
• lib/pages/account_page.dart
• lib/pages/map.dart
lib/pages/New_password.dart and lib/off pages/OTP_reauth.dart extend the recovery/session-verification path. No separate backend service or server code is present; the Flutter client communicates directly with Supabase.
5. Festival Content Modules
Event experiences are implemented as independently maintained screens, making the pages directory the primary product-content boundary:
• lib/pages/Bizconclave.dart
• lib/pages/Networkingcarnival.dart
• lib/pages/opening_ceremony.dart
Additional summit programming and informational sections include lib/pages/IF.dart, lib/pages/ytconnect.dart, lib/pages/unwind.dart, and lib/pages/About_us.dart. lib/utils/Datas.dart appears to be the local content/data source shared by presentation modules, while lib/utils/events_template.dart provides a reusable event-display structure.
6. Presentation System and Assets
Reusable form, button, and list components separate common presentation patterns from page-level flows:
• lib/utils/Bigbutton.dart
• lib/utils/Entryfield.dart
• lib/utils/horizontalList.dart
Bundled visual typography is stored in lib/assets/fonts/inter/; image assets belong under lib/assets/images. This makes the client largely self-contained for branding and static event presentation, while identity/data operations remain externalized to Supabase.
7. Build and Runtime Infrastructure
Flutter/Dart is the material runtime, declared by pubspec.yaml and launched through lib/main.dart. Native wrappers package the same Flutter application for each target:
• Android Gradle project: android/app/build.gradle
• iOS Runner project: ios/Runner.xcodeproj/project.pbxproj
• Desktop runners: linux/main.cc, windows/runner/main.cpp, macos/Runner/MainFlutterWindow.swift
The repository contains no custom API, database migration, Supabase configuration, or ticketing/media implementation. Those future capabilities will require explicit service integration beyond the current client-side architecture.
Main entry points: dashboard.dart Dashboard · main.dart App entry · Auth_gate.dart Auth gate · login_page.dart Login & signup
Components 20
Flutter App
- App entry · Composes and launches the client.
lib/main.dart - Startup flow
lib/pages/splash_screen.dart - Welcome
lib/pages/welcome_page.dart - Dashboard
lib/pages/dashboard.dart - Account
lib/pages/account_page.dart - Map
lib/pages/map.dart - Shared UI widgets · Buttons, entry fields, and horizontal lists.
lib/utils/Bigbutton.dart - Brand assets
Authentication
- Auth gate · Selects authenticated or unauthenticated flow.
lib/services/Auth_gate.dart - Auth service
lib/services/Auth_services.dart - Login & signup
lib/pages/login_page.dart - OTP & recovery · Includes OTP, re-authentication, reset, and new-password flows.
lib/pages/OTP_page.dart - Supabase · Direct client dependency for identity and data.
- SMTP servers · Delivers OTP signup and verification messages.
Festival Content
- Event screens · Bizconclave, Networking Carnival, and opening ceremony.
lib/pages/Bizconclave.dart - Programming & info · IF, YT Connect, Unwind, and About Us.
lib/pages/IF.dart - Local content data
lib/utils/Datas.dart - Event template
lib/utils/events_template.dart
Runtime & Hosts
- Flutter/Dart runtime
pubspec.yaml - Native platform hosts · Package and launch the same Flutter client.
android/app/build.gradle
Connections 21
- Native platform hosts → Flutter/Dart runtime: hosts
- Flutter/Dart runtime → App entry: runs
- App entry → Startup flow: starts with
- Startup flow → Welcome: progresses to
- Welcome → Auth gate: continues to
- Auth gate → Login & signup: unauthenticated flow
- Auth gate → Dashboard: authenticated flow
- Login & signup → OTP & recovery: OTP and recovery
- Login & signup → Auth service: uses
- OTP & recovery → Auth service: verifies or resets
- Auth service → Supabase: auth and data
- Supabase → SMTP servers: OTP delivery
- Dashboard → Account: navigates to
- Dashboard → Map: navigates to
- Dashboard → Event screens: opens
- Dashboard → Programming & info: opens
- Event screens → Local content data: uses
- Programming & info → Local content data: uses
- Event screens → Event template: renders with
- App entry → Shared UI widgets: shared presentation
- App entry → Brand assets: bundles