{"repo":"iamnijat/habitonic","free":true,"listed":false,"github":"https://github.com/iamnijat/habitonic","clone":"git clone https://github.com/iamnijat/habitonic.git","description":"Habit Tracker helps you build positive habits and keeps track of your day-to-day habits and routines. Made with Clean architecture + Hive + flutter_bloc + Freezed finally with 💙","language":"Dart","stars":52,"topics":["bloc","clean-architecture","dart","flutter","freezed","habit-tracker","hive","state-management"],"license":"MIT","category":"mobile-apps","readme_excerpt":"Flutter Habitonic Application Supported Null safety Project architecture (Clean 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. Presentation - Domain - Data - Core - Config. 3. Presentation layer consist of Widgets Cubits Blocs Cubits and blocs only manage UI state based on business logic 4. Domain layer (Business logic layer) Usecases (user stories) Repositories interface Typically one function, but can be more if functions are related. Remember, one class has one responsibility only. 5. Data layer (Data access layer) source locals (Database) Repositories (Implementation from Domain layer) 6. Models view models router models 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 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 Build App You can build the app using the commands for Android for IOS resources All resources (images, fonts, videos, ...) must be placed ","default_branch":null,"files":null,"tree":[],"storefront":"/r/iamnijat","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/iamnijat/habitonic/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}