From 9f7d6c92c583817212a323119379cae9a3de7460 Mon Sep 17 00:00:00 2001 From: Vaibhav Surve Date: Tue, 15 Jul 2025 15:06:16 +0530 Subject: [PATCH] feat(manage_bucket): add dialog for upcoming edit feature in Team Members Bottom Sheet --- lib/view/directory/manage_bucket_screen.dart | 52 ++++++++++++++++++-- 1 file changed, 49 insertions(+), 3 deletions(-) diff --git a/lib/view/directory/manage_bucket_screen.dart b/lib/view/directory/manage_bucket_screen.dart index c12ae90..a5a0ce7 100644 --- a/lib/view/directory/manage_bucket_screen.dart +++ b/lib/view/directory/manage_bucket_screen.dart @@ -184,11 +184,57 @@ class _ManageBucketsScreenState extends State { onTap: () { TeamMembersBottomSheet.show( context, - bucket, + bucket, matchedEmployees, - canEdit: canEdit, + canEdit: canEdit, onEdit: () { - print('Edit bucket: ${bucket.name}'); + Get.defaultDialog( + title: '', + contentPadding: const EdgeInsets.symmetric( + horizontal: 24, vertical: 16), + content: Column( + children: [ + const Icon(Icons.warning_amber, + size: 48, color: Colors.amber), + const SizedBox(height: 16), + Text( + 'Coming Soon', + style: TextStyle( + fontSize: 20, + fontWeight: FontWeight.bold, + color: Colors.black87, + ), + ), + const SizedBox(height: 8), + Text( + 'This feature is under development and will be available soon.', + textAlign: TextAlign.center, + style: TextStyle( + fontSize: 14, + color: Colors.grey[700], + ), + ), + const SizedBox(height: 20), + SizedBox( + width: double.infinity, + child: ElevatedButton( + style: ElevatedButton.styleFrom( + backgroundColor: Colors.red, + foregroundColor: Colors.white, + shape: RoundedRectangleBorder( + borderRadius: BorderRadius.circular(8), + ), + padding: const EdgeInsets.symmetric( + vertical: 12), + ), + onPressed: () => Get.back(), + child: const Text('OK'), + ), + ), + ], + ), + radius: 12, + ); }, ); },