Skip to content

AshBornCommander/sleep-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

16 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸŒ™ SleepWell β€” Sleep Better. Live Better.

A Flutter app for Android & iOS that helps you track daily sleep patterns, get personalized health insights, and improve your sleep quality.

Flutter Dart Android iOS Play Store App Store License


πŸ“² Download

Platform Status Link
πŸ€– Android βœ… Live Google Play Store
🍎 iOS πŸ”„ Under Review App Store β€” Coming Soon

✨ Features

😴 Sleep Tracking

  • Log bed time and wake time daily
  • Personalized sleep recommendations based on age and gender
  • Real-time sleep score calculation

πŸ“Š Analytics & Reports

  • Weekly sleep bar chart visualization
  • Sleep risk analysis (chronic deprivation detection)
  • Personalized tips based on your sleep patterns
  • Email your weekly report with beautiful formatting

πŸ“… Sleep Calendar

  • Monthly view with color-coded sleep quality
  • Tap any past date to log or edit sleep
  • Visual legend (Critical / Low / Good / High)

🎡 Ambient Music (4 Tracks)

  • ✨ Ethereal Dreams β€” default dreamy ambient (90s loop)
  • 🎷 Smooth Jazz β€” soft piano jazz
  • πŸŒ™ Deep Sleep β€” 432Hz healing tones
  • 🌊 Ocean Waves β€” soothing ocean sounds
  • Smooth fade in/out, volume control, mute toggle

🎨 Themes

  • 3 themes: Morning (warm), Midday (blue), Night (dark)
  • Auto-detects time of day
  • Status bar adapts to theme on all screens

πŸ”” Notifications

  • Daily 8:25 AM sleep log reminder
  • Monday weekly report notification
  • Toggle on/off from About screen

πŸ‘€ User Profile

  • Personalized onboarding
  • Profile photo upload
  • All data stored locally β€” full privacy

πŸ“€ Share & Review

  • Native share sheet (iOS + Android)
  • Real Play Store / App Store review dialog
  • Beautiful formatted email weekly report

πŸ› οΈ Tech Stack

Category Technology
Framework Flutter 3.41.7
Language Dart 3.11.4
Storage SharedPreferences (local)
Charts fl_chart
Audio audioplayers
Fonts Google Fonts (Poppins)
Notifications flutter_local_notifications 17.2.4
Review in_app_review
Email/URLs url_launcher
Share share_plus

πŸš€ Getting Started

Prerequisites

flutter doctor

Clone & Run

git clone https://github.com/AshBornCommander/sleep-tracker.git
cd sleep-tracker
flutter pub get

# Android
flutter run -d <android_device>

# iOS (requires Mac + Xcode 16+)
cd ios && pod install && cd ..
flutter run -d <ios_device>

# Build for Play Store
flutter build appbundle --release

# Build for App Store
flutter build ipa --release

πŸ“‚ Project Structure

lib/
β”œβ”€β”€ main.dart
β”œβ”€β”€ theme/
β”‚   └── app_theme.dart           # Colors, themes, status bar
β”œβ”€β”€ utils/
β”‚   └── responsive.dart          # R class - responsive sizing
β”œβ”€β”€ screens/
β”‚   β”œβ”€β”€ splash_screen.dart
β”‚   β”œβ”€β”€ onboarding_screen.dart
β”‚   β”œβ”€β”€ home_screen.dart
β”‚   β”œβ”€β”€ calendar_screen.dart
β”‚   β”œβ”€β”€ report_screen.dart
β”‚   └── about_screen.dart
β”œβ”€β”€ widgets/
β”‚   └── music_control_widget.dart
└── services/
    β”œβ”€β”€ audio_service.dart
    └── notification_service.dart
assets/
β”œβ”€β”€ audio/
β”‚   β”œβ”€β”€ ethereal_dreams.mp3      # Default - dreamy ambient
β”‚   β”œβ”€β”€ smooth_jazz.mp3          # Soft piano jazz
β”‚   β”œβ”€β”€ deep_sleep.mp3           # 432Hz tones
β”‚   └── ocean_waves.mp3          # Ocean sounds
└── developer.jpeg

πŸ“¦ Dependencies

dependencies:
  google_fonts: ^8.0.2
  shared_preferences: ^2.5.5
  fl_chart: ^1.2.0
  audioplayers: ^6.6.0
  image_picker: ^1.2.1
  flutter_local_notifications: 17.2.4
  timezone: 0.9.4
  in_app_review: ^2.0.11
  url_launcher: ^6.3.2
  share_plus: ^13.0.0

🎨 Design System

Night Background:  #0A0E21  (midnight blue)
Card:              #1D1E33  (dark navy)
Primary:           #6C63FF  (purple)
Accent:            #00D2FF  (cyan)
Morning Background:#FFF8F0  (warm white)
Midday Background: #F0F4FF  (cool white)
Font:              Poppins (Google Fonts)

πŸͺ Store Information

Google Play Store

Package:     com.pavankumar.sleepwell
Version:     1.0.0
Status:      Live βœ…
Link:        https://play.google.com/store/apps/details?id=com.pavankumar.sleepwell

Apple App Store

Bundle ID:   com.pavankumar.sleepwell
Version:     1.0.0
Status:      Under Review πŸ”„
Name:        SleepWell: Sleep Better
Submitted:   April 17, 2026

πŸ”’ Privacy

  • βœ… All data stored locally on device only
  • βœ… No data transmitted to external servers
  • βœ… No ads, no tracking, no analytics
  • βœ… Uninstalling the app deletes all data

Read full Privacy Policy


πŸ“– Documentation

Document Description
Live Docs Full documentation site
Privacy Policy Data handling
Dev Log Development history
FlutterForge Agent AI prompt for Flutter apps

πŸ‘¨β€πŸ’» Developer

Pavan Kumar Malladi Data Engineer & App Developer β€” Peoria, Arizona


Built with ❀️ using Flutter β€” Android & iOS from a single codebase! πŸš€

About

SleepWell β€” Flutter Android & iOS sleep tracker with personalized health insights, ambient music, weekly reports and sleep risk analysis πŸŒ™

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors