setProgressBar method

Future<void> setProgressBar(
  1. double progress
)

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

Supported Platforms:

  • Windows
  • macOS

Implementation

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