keepNotificationAfterAlarmEnds property

bool keepNotificationAfterAlarmEnds
final

Keeps the notification banner visible even after the alarm sound ends.

iOS only for now. On Android, the notification already stays visible after the sound ends because it is tied to the foreground service.

If true, when the alarm finishes ringing automatically (non-looping alarms), the delivered notification will not be dismissed so the user can still see it in the notification center.

Defaults to false.

Implementation

final bool keepNotificationAfterAlarmEnds;