AndroidNotificationConfig constructor

const AndroidNotificationConfig({
  1. String? channelId,
  2. String? channelName,
  3. String? channelDescription,
  4. Importance? importance,
  5. Priority? priority,
  6. String? ticker,
  7. String? icon,
  8. bool? playSound,
  9. bool? enableVibration,
  10. List<int>? vibrationPattern,
  11. String? groupKey,
  12. bool? setAsGroupSummary,
  13. GroupAlertBehavior? groupAlertBehavior,
  14. bool? autoCancel,
  15. bool? ongoing,
  16. bool? silent,
  17. Color? color,
  18. String? largeIcon,
  19. bool? onlyAlertOnce,
  20. bool? showWhen,
  21. int? when,
  22. bool? usesChronometer,
  23. bool? chronometerCountDown,
  24. bool? channelShowBadge,
  25. bool? showProgress,
  26. int? maxProgress,
  27. int? progress,
  28. bool? indeterminate,
  29. AndroidNotificationChannelAction? channelAction,
  30. bool? enableLights,
  31. Color? ledColor,
  32. int? ledOnMs,
  33. int? ledOffMs,
  34. NotificationVisibility? visibility,
  35. int? timeoutAfter,
  36. bool? fullScreenIntent,
  37. String? shortcutId,
  38. List<int>? additionalFlags,
  39. String? tag,
  40. List<AndroidNotificationAction>? actions,
  41. bool? colorized,
  42. AudioAttributesUsage? audioAttributesUsage,
})

Creates an AndroidNotificationConfig with the specified options.

Implementation

const AndroidNotificationConfig({
  this.channelId,
  this.channelName,
  this.channelDescription,
  this.importance,
  this.priority,
  this.ticker,
  this.icon,
  this.playSound,
  this.enableVibration,
  this.vibrationPattern,
  this.groupKey,
  this.setAsGroupSummary,
  this.groupAlertBehavior,
  this.autoCancel,
  this.ongoing,
  this.silent,
  this.color,
  this.largeIcon,
  this.onlyAlertOnce,
  this.showWhen,
  this.when,
  this.usesChronometer,
  this.chronometerCountDown,
  this.channelShowBadge,
  this.showProgress,
  this.maxProgress,
  this.progress,
  this.indeterminate,
  this.channelAction,
  this.enableLights,
  this.ledColor,
  this.ledOnMs,
  this.ledOffMs,
  this.visibility,
  this.timeoutAfter,
  this.fullScreenIntent,
  this.shortcutId,
  this.additionalFlags,
  this.tag,
  this.actions,
  this.colorized,
  this.audioAttributesUsage,
});