hide method

dynamic hide({
  1. bool scheduler = false,
})

Hide the spinner loader, if shown.

Implementation

hide({bool scheduler = false}) {
  if (_loadingDialog != null) {
    _loadingDialog?.hide(scheduler: scheduler);
    _loadingDialog = null;
  }
}