AndroidNotificationConfig constructor
const
AndroidNotificationConfig({
- String? channelId,
- String? channelName,
- String? channelDescription,
- Importance? importance,
- Priority? priority,
- String? ticker,
- String? icon,
- bool? playSound,
- bool? enableVibration,
- List<
int> ? vibrationPattern, - String? groupKey,
- bool? setAsGroupSummary,
- GroupAlertBehavior? groupAlertBehavior,
- bool? autoCancel,
- bool? ongoing,
- bool? silent,
- Color? color,
- String? largeIcon,
- bool? onlyAlertOnce,
- bool? showWhen,
- int? when,
- bool? usesChronometer,
- bool? chronometerCountDown,
- bool? channelShowBadge,
- bool? showProgress,
- int? maxProgress,
- int? progress,
- bool? indeterminate,
- AndroidNotificationChannelAction? channelAction,
- bool? enableLights,
- Color? ledColor,
- int? ledOnMs,
- int? ledOffMs,
- NotificationVisibility? visibility,
- int? timeoutAfter,
- bool? fullScreenIntent,
- String? shortcutId,
- List<
int> ? additionalFlags, - String? tag,
- List<
AndroidNotificationAction> ? actions, - bool? colorized,
- 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,
});