NotificationOptions constructor
const
NotificationOptions({
- String body = '',
- NotificationDirection dir = NotificationDirection.auto,
- String lang = '',
- String tag = '',
- String? icon,
- String? badge,
- String? image,
- Object? data,
- bool renotify = false,
- bool requireInteraction = false,
- bool? silent,
- int? timestamp,
- List<
int> ? vibrate, - 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,
});