NiceNotificationCenter constructor
const
NiceNotificationCenter({
- Key? key,
- required List<
NiceNotification> notifications, - void onNotificationTap(
- NiceNotification notification
- void onDismiss(
- NiceNotification notification
- VoidCallback? onMarkAllRead,
- VoidCallback? onClearAll,
- String? title,
- Widget? emptyWidget,
Implementation
const NiceNotificationCenter({
super.key,
required this.notifications,
this.onNotificationTap,
this.onDismiss,
this.onMarkAllRead,
this.onClearAll,
this.title,
this.emptyWidget,
});