xs_progress_hud 1.0.2 copy "xs_progress_hud: ^1.0.2" to clipboard
xs_progress_hud: ^1.0.2 copied to clipboard

this a progress hud.it can show hud in your app.

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();
    });
  }

2
likes
30
pub points
25%
popularity

Publisher

unverified uploader

this a progress hud.it can show hud in your app.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on xs_progress_hud