setProgressBar method

Future<void> setProgressBar(
  1. double progress
)

Sets progress value in progress bar. Valid range is 0, 1.0.

@platforms macos,windows

Implementation

Future<void> setProgressBar(double progress) async {
  final Map<String, dynamic> arguments = {
    'progress': progress,
  };
  await _channel.invokeMethod('setProgressBar', arguments);
}