feat(patient): implement doctor-only patient deletion, alert theme styling, and test auto-cleanup

This commit is contained in:
=
2026-09-22 13:41:14 -04:00
parent 73b69722a0
commit 654a7f402d
10 changed files with 616 additions and 16 deletions
+34
View File
@@ -104,6 +104,40 @@ class AppTheme {
thickness: 1,
space: 1,
),
dialogTheme: DialogThemeData(
backgroundColor: Colors.white,
surfaceTintColor: Colors.transparent,
elevation: 10,
shadowColor: Colors.black.withValues(alpha: 0.16),
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(16),
side: const BorderSide(color: AppColors.border, width: 1),
),
titleTextStyle: const TextStyle(
fontFamily: fontFamily,
fontSize: 17,
fontWeight: FontWeight.w700,
color: AppColors.textPrimary,
),
contentTextStyle: const TextStyle(
fontFamily: fontFamily,
fontSize: 13,
color: AppColors.textSecondary,
),
),
snackBarTheme: SnackBarThemeData(
backgroundColor: AppColors.textPrimary,
contentTextStyle: const TextStyle(
fontFamily: fontFamily,
fontSize: 13,
fontWeight: FontWeight.w500,
color: Colors.white,
),
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(10),
),
behavior: SnackBarBehavior.floating,
),
);
}
}