NotificationTile constructor

const NotificationTile({
  1. Key? key,
  2. required InboxNotification notification,
  3. dynamic onMarkAsRead(
    1. String notificationId
    )?,
  4. dynamic onMarkAsArchived(
    1. String notificationId
    )?,
  5. dynamic onMarkAsUnArchived(
    1. String notificationId
    )?,
  6. dynamic onTap(
    1. InboxNotification notification
    )?,
})

Implementation

const NotificationTile({
  super.key,
  required this.notification,
  this.onMarkAsRead,
  this.onMarkAsArchived,
  this.onMarkAsUnArchived,
  this.onTap,
});