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 {
  tryNative(() => nativeapi.Application.instance.setProgressBar(progress));
}