NotificationOptions constructor

const NotificationOptions({
  1. String body = '',
  2. NotificationDirection dir = NotificationDirection.auto,
  3. String lang = '',
  4. String tag = '',
  5. String? icon,
  6. String? badge,
  7. String? image,
  8. Object? data,
  9. bool renotify = false,
  10. bool requireInteraction = false,
  11. bool? silent,
  12. int? timestamp,
  13. List<int>? vibrate,
  14. List<NotificationAction>? actions,
})

Implementation

const NotificationOptions({
  this.body = '',
  this.dir = NotificationDirection.auto,
  this.lang = '',
  this.tag = '',
  this.icon,
  this.badge,
  this.image,
  this.data,
  this.renotify = false,
  this.requireInteraction = false,
  this.silent,
  this.timestamp,
  this.vibrate,
  this.actions,
});