A simple Todo App built with Flutter, utilizing the BLoC (Business Logic Component) pattern with Cubit for state management. This app allows users to manage their tasks efficiently by categorizing them into three main screens: New Tasks, Done Tasks, and Archived Tasks.
-
Three Main Screens:
- New Tasks: View and manage tasks that are yet to be completed.
- Done Tasks: View tasks that have been completed.
- Archived Tasks: View tasks that have been archived for future reference.
-
Task Management: Move tasks between New, Done, and Archived states effortlessly.
-
Smooth Navigation: Easy navigation between screens for a seamless user experience.
- Getting Started
- Screens Overview
- State Management with BLoC & Cubit
- Installation and Running the App
- Contributing
- License
- Acknowledgments
- This screen displays all tasks that are yet to be completed.
- Users can add new tasks and mark them as done or archived.
- This screen shows tasks that have been marked as completed.
- Users can move tasks to archived tasks.
- This screen contains tasks that have been archived.
- Users can restore archived tasks back to Done tasks.
The app uses the BLoC pattern to manage state efficiently. Each screen is managed by its respective Cubit that handles task operations, such as adding, completing, or archiving tasks.
- Cubit: A simple state management class that extends the
Cubit
class. - Events: Events that trigger state changes, like adding or moving tasks.
- States: Represents the current state of tasks on each screen.
- Flutter SDK
- Dart SDK
-
Clone the repository:
git clone https://github.com/yourusername/todo_app.git
-
Navigate to the project directory:
cd todo_app
-
Install the dependencies:
flutter pub get
- To run the app on an emulator or a physical device, use:
flutter run
Contributions are welcome! If you'd like to contribute to the project, please fork the repository and submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for more details.
- Flutter for the powerful UI toolkit.
- The BLoC pattern for state management.