ovprogresshud 0.2.1

  • README.md
  • CHANGELOG.md
  • Example
  • Installing
  • Versions
  • 86

progresshud #

一个好用的Hud框架,通过Flutter调用原生代码的方式实现,包含loading(默认),success,error,info等样式。通过一行代码即可在任何地方调出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

0.2.1 #

  • 修改了说明。

0.2.0 #

  • 修改了说明,提升了包评分。

0.1.0 #

  • 撰写了更多说明,感觉差不多可以用了。

0.0.2 #

  • 撰写了说明,添加了截图。

0.0.1 #

  • Init project.

example/README.md

progresshud_example #

Demonstrates how to use the progresshud plugin.

Getting Started #

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  ovprogresshud: ^0.2.1

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:ovprogresshud/progresshud.dart';
  
Version Uploaded Documentation Archive
0.2.1 Feb 26, 2019 Go to the documentation of ovprogresshud 0.2.1 Download ovprogresshud 0.2.1 archive
0.2.0 Feb 26, 2019 Go to the documentation of ovprogresshud 0.2.0 Download ovprogresshud 0.2.0 archive
0.1.3 Feb 25, 2019 Go to the documentation of ovprogresshud 0.1.3 Download ovprogresshud 0.1.3 archive
0.1.2 Feb 25, 2019 Go to the documentation of ovprogresshud 0.1.2 Download ovprogresshud 0.1.2 archive
0.1.1 Feb 25, 2019 Go to the documentation of ovprogresshud 0.1.1 Download ovprogresshud 0.1.1 archive
0.1.0 Feb 25, 2019 Go to the documentation of ovprogresshud 0.1.0 Download ovprogresshud 0.1.0 archive
0.0.2 Feb 25, 2019 Go to the documentation of ovprogresshud 0.0.2 Download ovprogresshud 0.0.2 archive
0.0.1 Jan 7, 2019 Go to the documentation of ovprogresshud 0.0.1 Download ovprogresshud 0.0.1 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
72
Health:
Code health derived from static analysis. [more]
99
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100
Overall:
Weighted score of the above. [more]
86
Learn more about scoring.

We analyzed this package on Jun 12, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.3.1
  • pana: 0.12.17
  • Flutter: 1.5.4-hotfix.2

Platforms

Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Health issues and suggestions

Document public APIs. (-1 points)

15 out of 15 API elements have no dartdoc comment.Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.68.0 <3.0.0
flutter 0.0.0
Transitive dependencies
collection 1.14.11
meta 1.1.6 1.1.7
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8