From 5148b415796b026f273845ebb67f2216ec6dc777 Mon Sep 17 00:00:00 2001 From: Vaibhav Surve Date: Wed, 18 Jun 2025 12:52:20 +0530 Subject: [PATCH] feat: Enhance task creation UI with title and description sections --- .../create_task_botom_sheet.dart | 35 ++++++++++++++++--- 1 file changed, 30 insertions(+), 5 deletions(-) diff --git a/lib/model/dailyTaskPlaning/create_task_botom_sheet.dart b/lib/model/dailyTaskPlaning/create_task_botom_sheet.dart index fe751c1..46ed274 100644 --- a/lib/model/dailyTaskPlaning/create_task_botom_sheet.dart +++ b/lib/model/dailyTaskPlaning/create_task_botom_sheet.dart @@ -121,11 +121,25 @@ void showManageTaskBottomSheet({ ), ), ), + Row( + mainAxisAlignment: MainAxisAlignment.center, + children: [ + const SizedBox(width: 8), + MyText.titleMedium( + "Create Task", + fontWeight: 700, + ), + ], + ), + const SizedBox(height: 16), _infoRowWithIcon( Icons.workspaces, "Selected Work Area", workArea), _infoRowWithIcon( Icons.list_alt, "Selected Activity", activity), const SizedBox(height: 12), + _infoRowWithIcon(Icons.check_circle_outline, + "Completed Work", completedWork), + const SizedBox(height: 12), Row( children: [ Icon(Icons.edit_calendar, @@ -146,11 +160,15 @@ void showManageTaskBottomSheet({ horizontal: 12, vertical: 10), ), ), - const SizedBox(height: 12), - _infoRowWithIcon(Icons.check_circle_outline, - "Completed Work", completedWork), const SizedBox(height: 16), - MyText.bodyMedium("Description", fontWeight: 700), + Row( + children: [ + Icon(Icons.description_outlined, + color: Colors.grey[700], size: 18), + const SizedBox(width: 8), + MyText.bodyMedium("Description", fontWeight: 600), + ], + ), const SizedBox(height: 6), TextField( controller: descriptionController, @@ -164,7 +182,14 @@ void showManageTaskBottomSheet({ ), ), const SizedBox(height: 24), - MyText.bodyMedium("Select Team Members", fontWeight: 700), + Row( + children: [ + Icon(Icons.group_add_outlined, + color: Colors.grey[700], size: 18), + const SizedBox(width: 8), + MyText.bodyMedium("Select Team Members", fontWeight: 600), + ], + ), const SizedBox(height: 8), Obx(() { if (controller.isLoading.value) {