NicePushNotificationPreview constructor

const NicePushNotificationPreview({
  1. Key? key,
  2. required String appName,
  3. required String title,
  4. required String body,
  5. Widget? appIcon,
  6. DateTime? timestamp,
  7. VoidCallback? onTap,
  8. VoidCallback? onDismiss,
  9. List<NicePushNotificationAction>? actions,
})

Implementation

const NicePushNotificationPreview({
  super.key,
  required this.appName,
  required this.title,
  required this.body,
  this.appIcon,
  this.timestamp,
  this.onTap,
  this.onDismiss,
  this.actions,
});