LinuxNotificationDetails constructor

const LinuxNotificationDetails({
  1. LinuxNotificationIcon? icon,
  2. LinuxNotificationSound? sound,
  3. LinuxNotificationCategory? category,
  4. LinuxNotificationUrgency? urgency,
  5. LinuxNotificationTimeout timeout = const LinuxNotificationTimeout.systemDefault(),
  6. bool resident = false,
  7. bool suppressSound = false,
  8. bool transient = false,
  9. LinuxNotificationLocation? location,
  10. String? defaultActionName,
  11. List<LinuxNotificationCustomHint>? customHints,
  12. List<LinuxNotificationAction> actions = const <LinuxNotificationAction>[],
  13. bool actionKeyAsIconName = false,
})

Constructs an instance of LinuxNotificationDetails.

Implementation

const LinuxNotificationDetails({
  this.icon,
  this.sound,
  this.category,
  this.urgency,
  this.timeout = const LinuxNotificationTimeout.systemDefault(),
  this.resident = false,
  this.suppressSound = false,
  this.transient = false,
  this.location,
  this.defaultActionName,
  this.customHints,
  this.actions = const <LinuxNotificationAction>[],
  this.actionKeyAsIconName = false,
});