NotificationCard constructor

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

Implementation

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