You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A streamlined task management app using Flutter to organize daily to-do lists. Key features include adding tasks with due dates, marking tasks as complete, viewing tasks by priority or due date, and quick editing options. The app uses a clean light mode theme with a modernistic UI and very slick design with color choices, providing a perfect and user-friendly experience with modern trendy UX.
7
+
8
+
## Features
9
+
10
+
***Add Tasks:** Users can add new tasks with a title, due date, and priority through a redesigned form with clear input fields and date picker.
11
+
***Edit Tasks:** Existing tasks can be easily edited via a dedicated screen, pre-populated with current task details.
12
+
***Delete Tasks:** Tasks can be deleted with a simple swipe-to-delete gesture, accompanied by a confirmation snackbar.
13
+
***Mark as Complete:** Tasks can be marked as complete using a checkbox, with a visual line-through effect on the title and a confirmation snackbar.
14
+
***Priority Levels:** Tasks can be assigned a priority level (High, Medium, or Low), visually represented by a color-coded circular avatar with the initial of the priority.
15
+
***Due Dates:** Each task has a due date, clearly displayed and easily editable via an integrated date picker.
16
+
***Modern UI/UX:** The app features a clean light mode theme with a modernistic and slick design. This includes:
17
+
***Custom Color Scheme:** A vibrant yet professional color palette with a deep purple primary color and a teal accent.
18
+
***Typography:** Utilizes `GoogleFonts.poppins` for headlines and `GoogleFonts.lato`/`GoogleFonts.openSans` for body text, ensuring readability and a modern aesthetic.
19
+
***Elevated Components:** Buttons, cards, and floating action buttons feature multi-layered drop shadows and elegant color glows to create a strong sense of depth and interactivity.
20
+
***Input Fields:** Cleanly designed input fields with subtle fill colors and focused border highlighting.
21
+
***Task Cards:** Each task is presented within an elevated card, providing visual separation and a lifted appearance.
22
+
***Empty State:** A user-friendly message and icon are displayed when there are no tasks, guiding the user to add new ones.
23
+
***Snackbars:** Informative snackbars provide feedback for actions like task deletion or completion.
24
+
25
+
## Project Structure
26
+
27
+
```
28
+
lib
29
+
├── models
30
+
│ └── task.dart
31
+
├── providers
32
+
│ └── task_provider.dart
33
+
├── screens
34
+
│ ├── add_task_screen.dart
35
+
│ └── task_list_screen.dart
36
+
├── theme
37
+
│ └── my_theme.dart
38
+
└── widgets
39
+
├── empty_tasks.dart
40
+
└── task_list_item.dart
41
+
```
42
+
43
+
## Dependencies
44
+
45
+
*`provider`: For state management.
46
+
*`google_fonts`: For custom fonts and typography.
47
+
*`flutter_slidable`: For the swipeable task list items (delete and edit).
48
+
*`intl`: For date formatting.
49
+
50
+
## Current Plan: UI/UX Refinement
51
+
52
+
**Goal:** Implement a clean light mode theme with modernistic UI and very slick design with color choices, ensuring a perfect UI with user-friendliness and modern trendy UX.
53
+
54
+
**Steps:**
55
+
1.**Create `lib/theme/my_theme.dart`:** Define a custom `ThemeData` for the light mode, incorporating `ColorScheme.fromSeed`, `GoogleFonts` for `TextTheme`, and custom `AppBarTheme`, `ElevatedButtonTheme`, `FloatingActionButtonTheme`, `InputDecorationTheme`, and `CardTheme` for a consistent and modern look.
56
+
2.**Update `lib/main.dart`:** Apply the `MyTheme.lightTheme` to the `MaterialApp` and set `debugShowCheckedModeBanner` to `false` for a cleaner presentation.
57
+
3.**Create `lib/widgets/empty_tasks.dart`:** Implement a widget to display a friendly message and icon when the task list is empty.
58
+
4.**Update `lib/screens/task_list_screen.dart`:** Integrate the `EmptyTasks` widget and update the `AppBar` styling to align with the new theme.
59
+
5.**Update `lib/widgets/task_list_item.dart`:** Refactor the `TaskListItem` to use `Card` widgets for better visual appeal, apply theme-defined styles for text, colors, and shadows, and integrate `Slidable` for swipe actions (delete and edit) with themed colors and snackbar feedback.
60
+
6.**Update `lib/screens/add_task_screen.dart`:** Enhance the `AddTaskScreen` with themed input decorations, a styled date picker, and improved layout for a more user-friendly experience.
61
+
7.**Error Handling:** Ensure that all UI changes are implemented without introducing new errors and that existing functionalities remain robust.
0 commit comments