



MindHaven is an app made using flutter which is Your personal sanctuary for mental wellness, self-care, and mindful journaling.
- Clone the repository:
git clone <repository-url> cd MindHaven
- Install dependencies:
flutter pub get
- Run the app:
flutter run
- Save your nature-themed image as
assets/images/nature.png
(1024x1024px recommended). - Run:
flutter pub get flutter pub run flutter_launcher_icons
- Icons will be generated for all platforms automatically.
- Android:
android/app/src/main/res/
- iOS:
ios/Runner/Assets.xcassets/AppIcon.appiconset/
- Android:
- Complete offline functionality
- Local storage only
- No account required
- No data collection
- Daily journal entries
- Modern text interface
- Save / Edit Journals
- Log daily mood
- 5 mood options with emojis
- Mood trends & analytics
- Visual indicators
- Activity tracking
- Historical visualization
- Curated positive affirmations
- New affirmation each day
- Favorite & browse affirmations
- Animated card display
- Share affirmations (coming soon)
- Journal, affirmation, and mood reminders
- Customizable times
- Native notifications
- Material Design 3
- Dark/Light theme
- Smooth animations
- Intuitive navigation
- Responsive & accessible
- Flutter 3.x - Cross-platform
- Provider - State management
- Material Design 3 - UI
- Google Fonts - Typography
- SQLite - Local DB
- SharedPreferences - Settings
- Structured models
- Flutter Local Notifications
- Timezone support
- Custom channels
lib/
โโโ main.dart # App entry point
โโโ models/ # Data models
โ โโโ journal_entry.dart
โ โโโ mood_entry.dart
โ โโโ affirmation.dart
โโโ providers/ # State management
โ โโโ journal_provider.dart
โ โโโ mood_provider.dart
โ โโโ affirmation_provider.dart
โ โโโ notification_provider.dart
โโโ services/ # Business logic
โ โโโ database_service.dart
โ โโโ emotion_detection_service.dart
โ โโโ notification_service.dart
โโโ screens/ # UI screens
โ โโโ splash_screen.dart
โ โโโ home_screen.dart
โ โโโ journal_screen.dart
โ โโโ mood_tracker_screen.dart
โ โโโ history_screen.dart
โ โโโ settings_screen.dart
โโโ widgets/ # Reusable components
โ โโโ affirmation_card.dart
โ โโโ journal_entry_card.dart
โ โโโ mood_entry_card.dart
โ โโโ quick_stats_card.dart
โโโ utils/ # Utilities
โโโ app_theme.dart
- Flutter SDK 3.x
- Dart SDK 3.x
- Android Studio / VS Code
- Android SDK (Android)
- Xcode (iOS)
See Quick Start above.
- Min SDK: 21
- Target SDK: 34
- Notification permissions configured
- Min iOS: 12.0
- Notification permissions auto-handled
- Core ML ready
dependencies:
flutter:
sdk: flutter
provider: ^6.0.5 # State management
sqflite: ^2.3.0 # Local database
google_fonts: ^6.1.0 # Typography
flutter_local_notifications: ^16.3.0 # Notifications
intl: ^0.18.1 # Internationalization
shared_preferences: ^2.2.2 # Settings storage
tflite_flutter: ^0.10.4 # TensorFlow Lite (Android)
- Data export functionality
- Backup/restore options
- Advanced analytics dashboard
- Custom affirmation creation
- Voice-to-text journaling
- Meditation timer integration
- Real ML model integration
- Performance optimizations
- Advanced security features
- Accessibility improvements
- Multi-language support
- Mood correlation analysis
- Goal setting and tracking
- Progress milestones
- Detailed trend analysis
- Personalized insights
- No Network Requests - App works completely offline
- Local Encryption - Sensitive data is encrypted at rest
- No Analytics - No user behavior tracking
- No Ads - Clean, distraction-free experience
- Open Source - Code is transparent and auditable
This app is designed for self-reflection and emotional awareness. It is not intended to replace professional mental health care, therapy, or medical advice. If you're experiencing severe mental health symptoms, please consult with a qualified healthcare provider.
We welcome contributions! Please read our contributing guidelines and code of conduct before submitting pull requests.
MIT License - see the LICENSE file for details.
If you find this app helpful, please:
- โญ Star the repository
- ๐ Report bugs
- ๐ก Suggest features
- ๐ฑ Share with others
Built with โค๏ธ for mental health awareness