NiceNotificationList constructor
const
NiceNotificationList({
- Key? key,
- required List<
NiceNotificationItem> notifications, - void onNotificationTap(
- NiceNotificationItem notification
- void onDismiss(
- String id
- void onMarkAsRead(
- String id
- void onClearAll()?,
- Widget itemBuilder()?,
- Widget? emptyWidget,
- bool grouped = false,
- 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,
});