FLUTTER ECOSYSTEM

Jayjerome/Task_manager_application

任务管理器应用是一款 Flutter 移动应用程序,旨在帮助用户高效地管理任务。该应用采用 Bloc 架构进行状态管理,并包含错误处理机制,以提供流畅的用户体验。

任务管理应用 项目封面
Stars
109
Forks
48
最近推送(UTC)
2024年9月28日
项目状态
未归档
Jerome Uloho GitHub avatar
GITHUB User

Jerome Uloho ↗

Mobile app developer (Android & iOS)

语言DartRubySwiftKotlinObjective-C

使用的依赖

依赖清单 12 项

所在榜单

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

展开 / 收起项目 README

Frame 3

Task Manager App

Overview

The Task Manager App is a Flutter mobile application designed to help users manage their tasks efficiently. The app utilizes the Bloc architecture for state management and incorporates error handling for a smooth user experience.

Features

  • Add New Task: Easily add new tasks with titles, descriptions, start and end dates.
  • Edit and Delete Tasks: Each tasks created can be edited and deleted.
  • Sort and Search: Sort tasks by date or completion status, and search for specific tasks using keywords.
  • Error Handling: The app includes error handling mechanisms to gracefully handle and display errors to users.

Getting Started

Prerequisites
  • Ensure you have Flutter installed on your machine. If not, follow the Flutter installation guide.
  • Clone the repository to your local machine.
Installation
  1. Open a terminal and navigate to the project directory.

  2. Run the following command to install dependencies:

    flutter pub get
    
    
    

Run the app on an emulator or physical device using the following command:

flutter run

State Management

The app uses the Bloc architecture for efficient state management. Key Bloc classes include:

TasksBloc: Manages the overall state of tasks in the application. TasksEvent: Represents events triggering state changes. TasksState: Represents different states of the tasks, such as loading, success, or failure.

Error Handling

Error handling is implemented throughout the app to ensure a seamless user experience. The LoadTaskFailure, AddTaskFailure, and UpdateTaskFailure states provide details about errors encountered during data loading, task creation, and task updates.

Unit Test

Unit test has been integrated to test all functionalities from initial state to creating new task, updating task and deleting task