NiceNotificationCenter constructor
- Key? key,
- required List<
NiceNotification> notifications, - String title = 'Notifications',
- void onNotificationTap()?,
- VoidCallback? onMarkAllRead,
- VoidCallback? onClear,
- String emptyMessage = 'No notifications',
- double maxHeight = 400,
Implementation
const NiceNotificationCenter({
super.key,
required this.notifications,
this.title = 'Notifications',
this.onNotificationTap,
this.onMarkAllRead,
this.onClear,
this.emptyMessage = 'No notifications',
this.maxHeight = 400,
});