feat: 重构 Reminder Notification 系统并更新应用包名

This commit is contained in:
qzl
2026-03-30 18:36:57 +08:00
parent 9fb2a6857b
commit 91bf3c3f96
90 changed files with 5133 additions and 3017 deletions
@@ -12,6 +12,8 @@ class MessageActionSheet extends StatelessWidget {
final VoidCallback? onDecline;
final IconData? icon;
final Color? iconColor;
final String? primaryActionText;
final VoidCallback? onPrimaryAction;
const MessageActionSheet({
super.key,
@@ -23,6 +25,8 @@ class MessageActionSheet extends StatelessWidget {
this.onDecline,
this.icon,
this.iconColor,
this.primaryActionText,
this.onPrimaryAction,
});
@override
@@ -124,6 +128,17 @@ class MessageActionSheet extends StatelessWidget {
),
],
),
] else if (primaryActionText != null && onPrimaryAction != null) ...[
SizedBox(
width: double.infinity,
child: AppButton(
text: primaryActionText!,
onPressed: () {
Navigator.pop(context);
onPrimaryAction?.call();
},
),
),
],
SizedBox(height: MediaQuery.of(context).padding.bottom + 12),
],