setProgress static method

Future<void> setProgress(
  1. int completed,
  2. int total
)

Sets progress.

WindowsTaskbar.setProgress(69, 100);

Implementation

static Future<void> setProgress(int completed, int total) {
  return _kChannel.invokeMethod(
    _kSetProgress,
    {
      'completed': completed,
      'total': total,
    },
  );
}