update method

void update({
  1. int? value,
  2. String? msg,
})

Updates the dialog's progress value and message.

value - New progress value between 0 and max msg - New message to display

Implementation

void update({int? value, String? msg}) {
  if (value != null) _progress.value = value;
  if (msg != null) _msg.value = msg;
}