Skip to content

A lightweight Flutter app for tracking time spent on projects and tasks. Users can add time entries (project, task, date, total hours, note), review all entries or grouped by project, and manage the list of projects/tasks. Data is stored locally so it survives app restarts.

Notifications You must be signed in to change notification settings

arterorx/time_tracker

Repository files navigation

Time Tracker

A lightweight Flutter app for tracking time spent on projects and tasks. Users can add time entries (project, task, date, total hours, note), review all entries or grouped by project, and manage the list of projects/tasks. Data is stored locally so it survives app restarts.

Features

  • Create and delete projects and tasks.
  • Add time entries with project, task, date, total hours, and optional note.
  • View all entries in a list with delete actions.
  • View entries grouped by project.
  • Local persistence using localstorage.
  • State management with provider.

Tech Stack

  • Flutter 3 / Dart 3
  • Packages: provider, localstorage, intl, collection

Project Structure (key files)

  • lib/main.dart – app entry point and provider wiring.
  • lib/models/ – data models for projects, tasks, and time entries.
  • lib/providers/time_entry_provider.dart – state, grouping, persistence.
  • lib/screens/ – UI screens: home (tabs + drawer), add entry, manage projects, manage tasks.

Getting Started

  1. Install Flutter 3.x (with Dart 3).
  2. Fetch dependencies:
flutter pub get
  1. Run the app (choose your target device/emulator):
flutter run

Usage Tips

  • Start by adding at least one project and one task via the drawer (Projects/Tasks).
  • Then add a time entry using the floating “+” button on the home screen.
  • Switch between All Entries and Grouped by Projects tabs to review data.
  • Deleting a project/task also removes associated entries to keep data consistent.

About

A lightweight Flutter app for tracking time spent on projects and tasks. Users can add time entries (project, task, date, total hours, note), review all entries or grouped by project, and manage the list of projects/tasks. Data is stored locally so it survives app restarts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published