This is a Flutter project named “ToDo App” that helps you keep track of your tasks. It provides a simple and intuitive interface for managing your to-do list.
The project follows a standard Flutter project structure:
to_do_list/ ├── lib/ │ ├── models/ │ │ └── task.dart │ ├── screens/ │ │ ├── home_screen.dart │ │ └── task_screen.dart │ ├── services/ │ │ └── task_service.dart │ ├── utils/ │ │ └── date_utils.dart │ └── main.dart ├── test/ │ ├── models/ │ │ └── task_test.dart │ ├── services/ │ │ └── task_service_test.dart │ └── utils/ │ └── date_utils_test.dart ├── assets/ │ └── images/ │ └── screenshot.png ├── README.md ├── pubspec.yaml └── LICENSE
lib/directory contains the main source code of the project.
models/directory includes the
Taskmodel class that represents a task.
screens/directory contains the
TaskScreenclasses that define the UI screens of the app.
services/directory includes the
TaskServiceclass that handles CRUD operations for tasks.
utils/directory contains the
DateUtilsclass that provides utility methods for working with dates.
test/directory contains unit tests for models, services, and utilities.
assets/directory includes any additional assets used in the project, such as images.
README.mdis the readme file you’re currently reading.
pubspec.yamlspecifies the dependencies and configuration of the project.
LICENSEis the license file that states the terms and conditions of using the project.
- Add, edit, and delete tasks
- Mark tasks as completed
- Search for tasks
- User-friendly interface
- Dark mode support
Here is a screenshot of the app:
To run this project locally, follow these steps:
Install Flutter SDK by following the official Flutter installation guide: Flutter Installation
Clone this repository:
git clone https://github.com/your-username/to_do_list.git
Change to the project directory:
Install the dependencies:
flutter pub get
Run the app:
This project uses the following dependencies:
flutter: The Flutter framework.
url_launcher: A Flutter plugin for launching URLs.
cupertino_icons: Flutter library for iOS icons.
flutter_test: Flutter package for writing unit tests.
flutter_lints: Package containing a set of recommended lints to encourage good coding practices.
These dependencies are listed in the
Contributions to this project are welcome! Here are a few ways you can contribute:
- Report bugs or suggest features by opening an issue.
- Submit a pull request to fix a bug or add a new feature.
- Write documentation or improve existing documentation.
Please make sure to follow the code style and conventions used in the project.