healsense
Take medications on time using a powerful medication reminder app. Made with DDD architecture + Drift + Riverpod + Go Router + Rxdart + Service Locator + Freezed finally with 💙
- Stars
- 101
- Forks
- 31
- Last push (UTC)
- Aug 5, 2026
- Project status
- Active
Original README
English project snapshot. Visit GitHub for the latest content.
Flutter Healsense Application
Instructions
Every code structure for this application is open source apart from GOOGLE_MAPS_API_KEY. Since this is an application in production, you must get GOOGLE_MAPS_API_KEY, create .env file on the top of the project, and include the key right there for running the app successfully.
Supported Null safety
Project architecture (DDD Architecture Approach)
1. Why:
* We want to determine what types of database that we use for storage (might want to change it later on)
* We want to adhere to SOLID principles since we are using OOP for this project.
* We want to ensure that UI layers do not care what is going on at the data layer at all.
* We might want to separate each layer into different packages.
2. Application - Di - Domain - Infrastructure - L10N - Presentation.
3. Presentation layer consist of
* Pages
* Widgets
4. Domain layer
* Core (Value objects, Failures)
* Repositories interface
* Entities
* Typically one function, but can be more if functions are related.
* Remember, one class has one responsibility only.
5. Infrastructure layer
* Core
* Data Source
* locals (Database)
* remotes (API)
* Repositories (Implementation from Domain layer)
* Models
* Services
6. Application layer
* State Management solution (Riverpod Binding Framework)
* States according to that framework
* Notifiers according to that framework
7. More insight of layers
DI pattern
Dependency Injection is a great design pattern that allows us to eliminate rigid dependencies between elements and it makes the application more flexible, easy to expand scales and maintain.
In the project we use Plugin injectable and get_it to implement DI and we have also defined classes so you can easily implement DI in the DI layer.
Routes
The project has predefined Named routes (Go Router)
resources
* All resources (images, fonts, videos, ...) must be placed in the assets class
Getting started
Get dependencies and generate necessary files.
We'll handle the generation of required files for 🚀 your onboarding!
Localization
Using this library to handle multi-languages. Follow this guide to understand and config languages files
You've done entire steps correctly and I make sure that this project will have paramount effect on your progress learning Flutter
Categories
Dependencies used
Dependency list 37 items
- badges
^3.1.2 - cupertino_icons
^1.0.8 - drift
^2.3.0 - equatable
^2.0.5 - fimber
^0.7.0 - flutter_dotenv
^5.1.0 - flutter_local_notifications
^17.2.1 - flutter_localizations
{"sdk":"flutter"} - flutter_riverpod
^2.1.1 - flutter_screenutil
^5.9.3 - flutter_svg_provider
^1.0.7 - fpdart
^0.4.0 - freezed_annotation
^2.4.1 - geolocator
^12.0.0 - go_router
^14.2.1 - google_maps_flutter
^2.7.0 - http
^1.2.2 - intl
^0.20.2 - json_annotation
^4.9.0 - nil
^1.1.1 - path
^1.9.0 - path_provider
^2.1.3 - riverpod_annotation
^1.0.6 - rxdart
^0.28.0 - shared_preferences
^2.2.3 - shimmer
^3.0.0 - sqlite3_flutter_libs
^0.5.24 - timezone
^0.9.4 - url_launcher
^6.3.0 - build_runnerDevelopment
^2.4.11 - drift_devDevelopment
^2.3.3 - flutter_launcher_iconsDevelopment
^0.13.1 - flutter_lintsDevelopment
^4.0.0 - flutter_testDevelopment
{"sdk":"flutter"} - freezedDevelopment
^2.4.1 - json_serializableDevelopment
^6.8.0 - riverpod_generatorDevelopment
^1.0.6
Rankings
How do I choose a repository?
Start with your use case, compare repository activity, and check the original project before adopting it.
- Search by repository name, owner or description, then narrow the results by topic.
- Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
- Read the README, license and issues on GitHub before using a project.
Sources and maintenance
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗
- iamnijat/healsense · GitHub ↗
- GitHub Docs — Saving repositories with stars ↗
- Directory maintained by Ducafecat ↗
