feat(manage_bucket): add dialog for upcoming edit feature in Team Members Bottom Sheet
This commit is contained in:
parent
0335b0d3ab
commit
9f7d6c92c5
@ -184,11 +184,57 @@ class _ManageBucketsScreenState extends State<ManageBucketsScreen> {
|
|||||||
onTap: () {
|
onTap: () {
|
||||||
TeamMembersBottomSheet.show(
|
TeamMembersBottomSheet.show(
|
||||||
context,
|
context,
|
||||||
bucket,
|
bucket,
|
||||||
matchedEmployees,
|
matchedEmployees,
|
||||||
canEdit: canEdit,
|
canEdit: canEdit,
|
||||||
onEdit: () {
|
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,
|
||||||
|
);
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user