PushNotificationCard constructor
const
PushNotificationCard({
- Key? key,
- required String title,
- required String body,
- IconData? icon,
- Color? iconColor,
- Color? iconBackground,
- String? timestamp,
- List<
PushNotificationAction> actions = const [], - VoidCallback? onTap,
- VoidCallback? onDismiss,
- bool isUnread = true,
- String? avatarUrl,
Implementation
const PushNotificationCard({
super.key,
required this.title,
required this.body,
this.icon,
this.iconColor,
this.iconBackground,
this.timestamp,
this.actions = const [],
this.onTap,
this.onDismiss,
this.isUnread = true,
this.avatarUrl,
});