keepNotificationAfterAlarmEnds property

bool keepNotificationAfterAlarmEnds
final

Keeps a notification visible after a non-looping alarm's audio ends.

If true, when the alarm stops because its audio finished, the user can still see it in the notification center. On Android it is replaced by a silent notification without the stop and snooze buttons.

Defaults to false.

Implementation

final bool keepNotificationAfterAlarmEnds;