updateProgress static method

void updateProgress(
  1. double progress,
  2. String text
)

update progress value and text when ProgressHudType = progress

should call show(ProgressHudType.progress, "Loading") before use

Implementation

static void updateProgress(double progress, String text) {
  _globalHud?.updateProgress(progress, text);
}