updateProgress method
update progress value and text when ProgressHudType = progress
should call show(ProgressHudType.progress, "Loading")
before use
Implementation
void updateProgress(double progress, String text) {
if (this.mounted) {
setState(() {
_progressValue = progress;
_text = text;
});
}
}