NiceNotificationCenter constructor

const NiceNotificationCenter({
  1. Key? key,
  2. required List<NiceNotification> notifications,
  3. void onNotificationTap(
    1. NiceNotification notification
    )?,
  4. void onDismiss(
    1. NiceNotification notification
    )?,
  5. VoidCallback? onMarkAllRead,
  6. VoidCallback? onClearAll,
  7. String? title,
  8. Widget? emptyWidget,
})

Implementation

const NiceNotificationCenter({
  super.key,
  required this.notifications,
  this.onNotificationTap,
  this.onDismiss,
  this.onMarkAllRead,
  this.onClearAll,
  this.title,
  this.emptyWidget,
});