任務管理應用
任務管理器應用是一款 Flutter 移動應用程式,旨在幫助使用者有效管理其任務。該應用採用 Bloc 架構進行狀態管理,並整合錯誤處理機制,以提供順暢的使用者體驗。
- 星標
- 109
- 分支
- 48
- 最近推送(UTC)
- 2024年9月28日
- 專案狀態
- 未封存
原始 README
以下為英文專案原文快照,最新內容請造訪 GitHub。
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
-
Open a terminal and navigate to the project directory.
-
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
使用的依賴
依賴清單 12 項
- flutter
{"sdk":"flutter"} - cupertino_icons
^1.0.2 - nb_utils
^6.0.4 - flutter_svg
^1.0.0 - table_calendar
^3.0.9 - intl
^0.18.1 - flutter_bloc
^8.1.3 - bloc_concurrency
^0.2.3 - shared_preferences
^2.2.2 - flutter_test開發依賴
{"sdk":"flutter"} - mocktail開發依賴
^1.0.1 - flutter_lints開發依賴
^2.0.0
所在榜單
如何選擇適合專案的儲存庫?
先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
- 透過儲存庫名稱、作者或描述搜尋,再依技術分類縮小範圍。
- 綜合星標、分支與最近推送比較專案;星標反映社群關注,不保證品質。
- 使用前在 GitHub 確認 README、授權條款與 Issues。
來源與維護
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗