updateProgress method

void updateProgress(
  1. String id, {
  2. String? title,
  3. String? subtitle,
  4. double? progress,
})

Updates an existing progress by ID

Implementation

void updateProgress(
  String id, {
  String? title,
  String? subtitle,
  double? progress,
}) {
  final controller = _activeProgress[id]?.controller;
  controller?.updateAll(
    title: title,
    subtitle: subtitle,
    progress: progress,
  );
}