NashNotification constructor

const NashNotification({
  1. required String title,
  2. String? body,
  3. NashNotificationType type = NashNotificationType.info,
  4. IconData? icon,
  5. List<NashNotificationAction> actions = const <NashNotificationAction>[],
  6. String? id,
})

Implementation

const NashNotification({
  required this.title,
  this.body,
  this.type = NashNotificationType.info,
  this.icon,
  this.actions = const <NashNotificationAction>[],
  this.id,
});