Skip to content

The To-Do List App is a simple task management tool built with Flutter. It allows users to add, complete, and remove tasks, with support for dark mode. Tasks can be marked as completed using a checkbox, and the interface updates dynamically. Perfect for managing daily tasks and staying organized.

License

Notifications You must be signed in to change notification settings

adarshpandey18/To-Do

Repository files navigation

To-Do List App

This is a simple to-do list application built with Flutter. It allows users to add, mark as complete, and remove tasks. The app uses the Provider package for state management and supports a dark theme.

Features

  • Add new tasks
  • Mark tasks as completed
  • Remove tasks
  • Dark theme support

Getting Started

Prerequisites

  • Flutter installed on your machine
  • A code editor such as VSCode or Android Studio

Installing

  1. Clone the repository:
  git clone https://github.com/yourusername/todo_list_app.git
  cd todo_list_app
  1. Install dependencies:
flutter pub get
  1. Run the application:
flutter run

Project Structure

lib/
├── main.dart
├── models/
│   ├── Task.dart
│   └── ToDoList.dart
├── pages/
│   ├── add_task.dart
│   └── home_pages.dart
└── widgets/
    └── task_tile.dart
  • main.dart: Sets up the ChangeNotifierProvider for ToDoList and configures routes.
  • models/Task.dart: Defines the Task model.
  • models/ToDoList.dart: Manages the list of tasks and notifies listeners.
  • pages/add_task.dart: Page for adding a new task.
  • pages/home_pages.dart: Home page displaying the list of tasks.
  • widgets/task_tile.dart: Custom widget for displaying individual tasks.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Acknowledgments

Inspired by various Flutter tutorials and documentation.

About

The To-Do List App is a simple task management tool built with Flutter. It allows users to add, complete, and remove tasks, with support for dark mode. Tasks can be marked as completed using a checkbox, and the interface updates dynamically. Perfect for managing daily tasks and staying organized.

Topics

Resources

License

Stars

Watchers

Forks