Skip to content

MIKECHITI/MediFast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ’Š MediFast β€” Medicine Delivery App

A beautiful, production-ready Flutter medicine delivery app built for portfolio showcase.

Flutter Riverpod Dart


✨ Features

Feature Status
Splash Screen with animations βœ…
3-Slide Onboarding βœ…
Login & Register with validation βœ…
Home Screen (search, categories, pharmacies, medicines) βœ…
Pharmacy List & Detail βœ…
Medicine List with category filters βœ…
Medicine Detail with add-to-cart βœ…
Cart Screen with quantity management βœ…
Checkout Screen (address + payment selection) βœ…
Order Success Screen with animation βœ…
Order History Screen βœ…
Live Order Tracking with animated driver on Google Maps βœ…
Bottom Navigation Bar βœ…
Riverpod 2.0 state management βœ…
Clean Architecture folder structure βœ…
Teal/Blue + White medical theme βœ…

πŸ—‚οΈ Folder Structure

lib/
β”œβ”€β”€ core/
β”‚   β”œβ”€β”€ constants/       # Colors, strings, sizes, routes
β”‚   β”œβ”€β”€ theme/           # AppTheme (light)
β”‚   └── routes/          # go_router setup with shell route
β”œβ”€β”€ features/
β”‚   β”œβ”€β”€ auth/            # Login, Register, AuthProvider
β”‚   β”œβ”€β”€ home/            # HomeScreen
β”‚   β”œβ”€β”€ pharmacy/        # PharmacyList, PharmacyDetail
β”‚   β”œβ”€β”€ medicine/        # MedicineList, MedicineDetail
β”‚   β”œβ”€β”€ cart/            # CartScreen, CartProvider
β”‚   β”œβ”€β”€ order/           # Checkout, OrderSuccess, OrderHistory, OrderProvider
β”‚   └── tracking/        # OrderTrackingScreen (Google Maps)
β”œβ”€β”€ models/              # Medicine, Pharmacy, CartItem, Order, AppUser
β”œβ”€β”€ services/            # FakeDataService (mock data)
β”œβ”€β”€ shared/
β”‚   └── widgets/         # AppButton, AppTextField, MedicineCard, PharmacyCard, etc.
β”œβ”€β”€ main.dart
└── app.dart

πŸš€ Getting Started

1. Prerequisites

  • Flutter SDK 3.24+
  • Dart 3.3+
  • Android Studio / VS Code
  • A Google Maps API Key

2. Clone & Install

git clone https://github.com/MIKECHITI/medifast.git
cd medifast
flutter pub get

4. Add Fonts

Download Nunito from Google Fonts and place the .ttf files in:

assets/fonts/
  Nunito-Regular.ttf
  Nunito-Medium.ttf
  Nunito-SemiBold.ttf
  Nunito-Bold.ttf
  Nunito-ExtraBold.ttf

5. Create Asset Folders

mkdir -p assets/images assets/icons assets/animations assets/fonts

6. Run

flutter run

πŸ“± Demo Login

Use any email + any password (6+ chars). Or tap the Demo Account hint on the login screen.

Email: demo@medifast.com
Password: demo123

πŸ› οΈ Tech Stack

Layer Technology
UI Framework Flutter 3.24+
State Management Riverpod 2.0 (StateNotifier)
Navigation go_router 14+
Maps google_maps_flutter
Local Storage shared_preferences, hive_flutter
Animations flutter_animate, animate_do
Page Indicators smooth_page_indicator
Date Formatting intl
Unique IDs uuid

🎨 Design System

Token Value
Primary #0A9EBF (Teal Blue)
Accent #00C896 (Mint Green)
Background #F8FAFB
Font Family Nunito
Border Radius 8 / 12 / 16 / 20px

πŸ“Έ Screen Flow

Splash β†’ Onboarding β†’ Login/Register
                           ↓
                      Home Screen
                    /     |      \
              Pharmacy  Medicine  Cart
                ↓          ↓       ↓
            Pharmacy    Medicine  Checkout
             Detail      Detail      ↓
                                Order Success
                                     ↓
                               Order Tracking
                               (Live GPS Map)

πŸ“ License

MIT License β€” free to use in your portfolio.


Built with ❀️ using Flutter

About

πŸš€ MediFast: A production-ready Flutter medicine delivery app with real-time tracking, clean architecture, and Riverpod. Built for portfolio showcase with OpenStreetMap integration (no API keys needed).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors