0 purchases
xs progress hud
xs_progress_hud #
showcase #
normal hud #
Future<void> showHud() async {
XsProgressHud.show(context);
Future.delayed(Duration(milliseconds: 2000)).then((val) {
XsProgressHud.hide();
});
}
copied to clipboard
message hud #
Future<void> showMessageHud() async {
XsProgressHud.showMessage(context, "Flutter app");
}
copied to clipboard
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();
});
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.