showAndDismiss static method

Future showAndDismiss(
  1. ProgressHudType type,
  2. String text
)

show hud and dismiss automatically

Implementation

static Future showAndDismiss(ProgressHudType type, String text) async {
  return _globalHud?.showAndDismiss(type, text);
}