ovprogresshud 0.1.2 copy "ovprogresshud: ^0.1.2" to clipboard
ovprogresshud: ^0.1.2 copied to clipboard

discontinued
outdated

A useful Hud framework is implemented by calling native code by Flutter. With one line of code, you can call Hud out anywhere and control its hiding. In the example App, you can see how to use it.

progresshud #

一个好用的Hud框架,通过Flutter调用原生代码的方式实现。通过一行代码即可在任何地方调出Hud,并控制其隐藏,在示例App中,你可以看到具体如何使用它。

在iOS上使用SVProgressHUD,安卓上使用SVProgressHUD-Android(这个包就是仿写的iOS版本)。ui均来自原生层,所以没有过多的可定义空间,如果需要自定义,可以分别在各个平台上重写框架代码(比较麻烦)。

A useful Hud framework is implemented by calling native code by Flutter. With one line of code, you can call Hud out anywhere and control its hiding. In the example App, you can see how to use it. SVProgress HUD is used on iOS and SVProgress HUD-Android is used on Android (this package is a copy of iOS version). UI comes from the native layer, so there is not too much definition space. If you need to customize, you can rewrite the framework code on each platform separately (more troublesome).

EasyUse ProgressHUD for flutter app.

Usage #

Progresshud.show();

Show

Progresshud.showWithStatus('myinfo');

Status

Progresshud.showSuccessWithStatus('myinfo');

Success

Progresshud.showInfoWithStatus('myinfo');

Info

Progresshud.showErrorWithStatus('myinfo');

Error

Progresshud.setDefaultMaskTypeBlack();

MaskTypeBlack

Progresshud.setDefaultMaskTypeGradient('myinfo');

MaskTypeGradient

2
likes
0
pub points
0%
popularity

Publisher

unverified uploader

A useful Hud framework is implemented by calling native code by Flutter. With one line of code, you can call Hud out anywhere and control its hiding. In the example App, you can see how to use it.

Repository (GitHub)
View/report issues

Dependencies

flutter

More

Packages that depend on ovprogresshud