Skip to content

harshthakur3/flutter-todo-hive

Repository files navigation

✅ Flutter To-Do App with Hive

A simple and elegant To-Do List application built using Flutter and Hive for local storage. Tasks are saved on the device, even after the app is closed or restarted.

App Screenshot


📦 Features

  • 📝 Add new tasks
  • ✅ Mark tasks as complete
  • ❌ Delete tasks with swipe
  • 💾 Persistent local storage using Hive
  • 🎯 Clean and simple UI

🛠️ Tech Stack

  • Flutter – UI Toolkit
  • Hive – Lightweight key-value local database
  • Dart – Programming Language

🚀 Getting Started

1. Clone the repository

git clone https://github.com/yourusername/flutter-todo-hive.git
cd flutter-todo-hive

2. Install dependencies

flutter pub get

3. Run the app

flutter run

📂 Project Structure

lib/
├── data/
│   └── database.dart         # Hive database logic
├── util/
│   ├── dialog_box.dart       # Custom input dialog
│   ├── my_button.dart        # Reusable button
│   └── todo_tile.dart        # Todo task tile
├── home_page.dart            # Main To-Do screen
└── main.dart                 # App entry point

📸 Screenshot

Make sure you have this image in your root directory:

photo.png

📌 Notes

    Uses flutter_slidable for swipe-to-delete.

    All data is stored locally on the device using Hive – no internet required.

    Easily customizable for themes, animations, or other features.

🧑‍💻 Author

Harsh Thakur
Built with ❤️ using Flutter

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published