Next-Generation On-Demand Roadside Assistance App > Fuel Delivery β’ Emergency Support β’ EV Charging β’ Smart Navigation
PitStop is a modern Flutter-based mobile application designed to provide instant on-road assistance for drivers β whether youβre out of fuel, have a flat tire, or need emergency medical help.
The app delivers real-time location services, quick service booking, and a Zomato-style UI built with Apple-inspired design principles and Hickβs Lawβoptimized interactions.
This repository contains the complete frontend source code for the PitStop app.
-
π₯ Real-Time Map View
- Google Maps integration with dynamic location tracking
- Apple-style smooth floating navigation button
- Intelligent bottom-sheet layout (Hickβs Law inspired)
-
βοΈ Modular Service System
- Fuel delivery, towing, battery replacement, puncture repair
- EV charging stations, hospitals, pharmacies & oil services
-
π¨ Beautiful Apple-Style UI
- Clean glassmorphism effects and curved bottom sheets
- Light & Dark mode auto-detection
- Soft shadows, motion-based transitions, and icon animations
-
π Smart Navigation
- Floating navigation button always visible
- Re-center to current location anytime
-
β‘ Optimized for Speed & UX
- Lightweight animations
- Efficient state updates with minimal rebuilds
- Follows Flutterβs performance best practices
pitstop_frontend/
β
βββ android/ # Android native build files
βββ ios/ # iOS native build files
βββ assets/ # App assets (images, icons, logos)
β βββ icons/
β βββ screens/
β βββ ailment-preview.png
β
βββ lib/
β βββ main.dart # Entry point
β βββ theme/
β β βββ theme.dart # App-wide color & style definitions
β βββ screens/
β β βββ explore_page.dart # Google Maps + Quick Services UI
β β βββ home_page.dart
β β βββ orders_page.dart
β β βββ profile_page.dart
β βββ widgets/ # Reusable components
β βββ utils/ # Helpers and constants
β
βββ pubspec.yaml # Dependencies and assets registration
βββ README.md
βββ LICENSE
| Layer | Technology | Description |
|---|---|---|
| Framework | Flutter 3.x | Cross-platform mobile development |
| Language | Dart | High-performance and type-safe |
| Maps | Google Maps Flutter SDK | Real-time map visualization |
| Location | Flutter Location Plugin | Device geolocation tracking |
| UI/UX | Apple-style glassmorphism + Material 3 | Clean, modern design |
| State Mgmt | Stateful Widgets | Simple and reactive architecture |
The PitStop UI follows:
- Apple-grade minimalism for visual calmness
- Hickβs Law to reduce cognitive load by grouping related actions
- Zomato-style contrast for visual clarity and service discoverability
- Tesla-style animation fluidity for premium feel
| Explore Page | Dark Mode | Quick Services |
|---|---|---|
A glimpse into the core app flow, from authentication to managing your profile.
| Login Screen | Explore (Home) | My Orders | User Profile |
|---|---|---|---|
- Flutter SDK 3.x+
- Android Studio / Xcode
- Google Maps API Key
git clone https://github.com/srivilliamsai/pitstop_frontend.git
cd pitstop_frontendCreate a .env or local configuration file to insert your Google Maps API keys for both platforms:
android/app/src/main/AndroidManifest.xmlios/Runner/AppDelegate.swift
flutter pub getflutter runπ§© Main Screen β ExplorePage
- Displays Google Map + Quick Service Panel
- Interactive draggable bottom sheet
- Always-visible floating navigation FAB
- Auto camera re-center on tap
- Clean dark/light adaptive UI
π¦ Dependencies
dependencies:
flutter:
sdk: flutter
google_maps_flutter: ^2.5.0
location: ^6.0.0
cupertino_icons: ^1.0.8π§ Future Enhancements
- π Real-time mechanic tracking
- π§Ύ Integrated payment gateway
- π§βπ§ Mechanic-side dashboard (Flutter Web)
- π Analytics & notifications panel
- π Firebase Auth for secure sign-in
π License
This project is licensed under the MIT License β see the LICENSE file for details.
π¨βπ» Author
Sri Villiam Sai π Software Developer | Flutter β’ Spring Boot β’ OCI Cloud
π Chennai, India
π LinkedIn
π GitHub
π Acknowledgements
- Google Maps Flutter Team
- Material Design 3 Community
- Apple Human Interface Guidelines
- Flutter Dev Community
βEmpowering safe journeys, one tap at a time.β β PitStop Team