made snackbars centered for better appearance

This commit is contained in:
2026-01-01 12:59:31 -06:00
parent 331d926c2b
commit 4af40a66f5
2 changed files with 12 additions and 3 deletions

View File

@@ -132,7 +132,10 @@ class _SchedulesScreenState extends State<SchedulesScreen> {
if (!mounted) return;
ScaffoldMessenger.of(context).showSnackBar(
const SnackBar(
content: Text('Schedule deleted successfully'),
content: Text(
'Schedule deleted successfully',
textAlign: TextAlign.center,
),
backgroundColor: Colors.green,
)
);