NiceNotificationList constructor

const NiceNotificationList({
  1. Key? key,
  2. required List<NiceNotificationItem> notifications,
  3. void onNotificationTap(
    1. NiceNotificationItem notification
    )?,
  4. void onDismiss(
    1. String id
    )?,
  5. void onMarkAsRead(
    1. String id
    )?,
  6. void onClearAll()?,
  7. Widget itemBuilder(
    1. BuildContext,
    2. NiceNotificationItem
    )?,
  8. Widget? emptyWidget,
  9. bool grouped = false,
  10. EdgeInsetsGeometry? padding,
})

Implementation

const NiceNotificationList({
  super.key,
  required this.notifications,
  this.onNotificationTap,
  this.onDismiss,
  this.onMarkAsRead,
  this.onClearAll,
  this.itemBuilder,
  this.emptyWidget,
  this.grouped = false,
  this.padding,
});