feat(manage_bucket): add dialog for upcoming edit feature in Team Members Bottom Sheet

This commit is contained in:
Vaibhav Surve 2025-07-15 15:06:16 +05:30
parent 0335b0d3ab
commit 9f7d6c92c5

View File

@ -188,7 +188,53 @@ class _ManageBucketsScreenState extends State<ManageBucketsScreen> {
matchedEmployees,
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,
);
},
);
},