A simple and intuitive interface for managing your tasks

ToDo App

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.

Structure

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 Task model class that represents a task.
  • screens/ directory contains the HomeScreen and TaskScreen classes that define the UI screens of the app.
  • services/ directory includes the TaskService class that handles CRUD operations for tasks.
  • utils/ directory contains the DateUtils class 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.md is the readme file you’re currently reading.
  • pubspec.yaml specifies the dependencies and configuration of the project.
  • LICENSE is the license file that states the terms and conditions of using the project.

Features

  • Add, edit, and delete tasks
  • Mark tasks as completed
  • Search for tasks
  • User-friendly interface
  • Dark mode support

Screenshots

Here is a screenshot of the app:

Getting Started

To run this project locally, follow these steps:

  1. Install Flutter SDK by following the official Flutter installation guide: Flutter Installation

  2. Clone this repository:

    git clone https://github.com/your-username/to_do_list.git
    
  3. Change to the project directory:

    cd to_do_list
    
  4. Install the dependencies:

    flutter pub get
    
  5. Run the app:

    flutter run
    

Dependencies

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 pubspec.yaml file.

Contributing

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.

GitHub

View Github