NotificationTile constructor
const
NotificationTile({
- Key? key,
- required InboxNotification notification,
- dynamic onMarkAsRead(
- String notificationId
- dynamic onMarkAsArchived(
- String notificationId
- dynamic onMarkAsUnArchived(
- String notificationId
- dynamic onTap(
- InboxNotification notification
- Widget renderNotification(
- InboxNotification notification
- Widget renderAvatar(
- InboxNotification notification
- Widget renderSubject(
- InboxNotification notification
- Widget renderBody(
- InboxNotification notification
- dynamic onNotificationTap(
- InboxNotification notification
- dynamic onPrimaryActionTap(
- InboxNotification notification
- dynamic onSecondaryActionTap(
- InboxNotification notification
Implementation
const NotificationTile({
super.key,
required this.notification,
this.onMarkAsRead,
this.onMarkAsArchived,
this.onMarkAsUnArchived,
this.onTap,
this.renderNotification,
this.renderAvatar,
this.renderSubject,
this.renderBody,
this.onNotificationTap,
this.onPrimaryActionTap,
this.onSecondaryActionTap,
});