updateProgressBar method

Future<NotificationUpdateResult> updateProgressBar({
  1. required int notificationId,
  2. required WindowsProgressBar progressBar,
})
inherited

Updates the progress bar in the notification with the given ID.

Note that in order to update WindowsProgressBar.label, it must not have been set to null when the notification was created

Implementation

Future<NotificationUpdateResult> updateProgressBar({
  required int notificationId,
  required WindowsProgressBar progressBar,
}) =>
    updateBindings(
      id: notificationId,
      bindings: progressBar.data,
    );