NotificationCard constructor

const NotificationCard({
  1. required String title,
  2. required String message,
  3. String? timestamp,
  4. IconData? icon,
  5. bool unread = false,
  6. VoidCallback? onTap,
  7. VoidCallback? onDismiss,
  8. Key? key,
})

Creates a NotificationCard.

Implementation

const NotificationCard({
  required this.title,
  required this.message,
  this.timestamp,
  this.icon,
  this.unread = false,
  this.onTap,
  this.onDismiss,
  super.key,
});