NotificationsScreen constructor

const NotificationsScreen({
  1. Key? key,
  2. required HeadlessService headlessService,
  3. Widget renderNotification(
    1. InboxNotification notification
    )?,
  4. Widget renderAvatar(
    1. InboxNotification notification
    )?,
  5. Widget renderSubject(
    1. InboxNotification notification
    )?,
  6. Widget renderBody(
    1. InboxNotification notification
    )?,
  7. dynamic onNotificationTap(
    1. InboxNotification notification
    )?,
  8. dynamic onPrimaryActionTap(
    1. InboxNotification notification
    )?,
  9. dynamic onSecondaryActionTap(
    1. InboxNotification notification
    )?,
})

Implementation

const NotificationsScreen({
  super.key,
  required this.headlessService,
  this.renderNotification,
  this.renderAvatar,
  this.renderSubject,
  this.renderBody,
  this.onNotificationTap,
  this.onPrimaryActionTap,
  this.onSecondaryActionTap,
});