habit_tracker_app

A Flutter habit tracking application using Isar database.

Stars
0
Committers
2

habit_tracker_app

A Habit trackering application that uses Isar Database to storage the important of the users habits and the dates of the days on which they completed and display them in the form of a Heat Map Calendar.

Features

The following are the features of this application:

Change themes

  • Switch between light mode and dart mode.

CRUD Operations

  • Create a new habit.
  • Read and display habits in real-time.
  • Update the habit name.
  • Update the habit's completion status.
  • Delete the habit and all it's previous record.

Heat Map Visualization

  • Represent the collected data in the form of a GitHub contributions like heat map.

File Structure

assets/
├── screenshots/           # UI Screenshots
└── app_icon.png           # App Icon
lib/
├── components/            # Reusable widgets and UI componets
├── util/                  # Utilities to get completion status and
├── models/                # Data models for the application
├── pages/                 # UI screens for the application
├── database/              # Isar Database Service
├── themes/                # Themes Provider and text themes
└── main.dart              # Main entry point of the application

App Icon

The app icon is made using the following websites:

UI Screens

Getting Started

Prerequisites

  • Have Flutter installed on your machine.
  • Check the documentation of Isar Database for more info on it.

Packages used

  • provider
  • isar
  • isar_flutter_libs
  • path_provider
  • flutter_slidable
  • flutter_heatmap_calendar
  • google_fonts
  • flutter_launcher_icons

Installation

  1. Clone the repository:
git clone https://github.com/usman619/habit_tracker_app.git
cd habit_tracker_app
code .
  1. Install the dependencies:
flutter pub get
  1. If you want to change default app icon, goto the file 'flutter_launcher_icons.yaml' and change the path used in 'image_path' and after that run the following command in your terminal:
dart run flutter_launcher_icons:main
  1. Run using the following command:
flutter run
Related Projects