xs_progress_hud

showcase

normal hud

Future<void> showHud() async {
    XsProgressHud.show(context);
    Future.delayed(Duration(milliseconds: 2000)).then((val) {
      XsProgressHud.hide();
    });
  }

message hud

  Future<void> showMessageHud() async {
    XsProgressHud.showMessage(context, "Flutter app");
  }

custom hud

  Future<void> showCustomHud() async {
    XsProgressHud hud = XsProgressHud();
    // you can change some property´╝î like  hud.progressColor = Colors.red;
    hud.progressColor = Colors.red;
    Navigator.push(context, hud);
    Future.delayed(hud.delayed).then((val) {
      hud.navigator.pop();
    });
  }

Libraries

i18n
xs_progress_hud