A simple package to show progress dialog. As it is a stateful widget, you can change the text shown on the dialog dynamically.
Dart SDK version >= 2.1.0
Create an instance of ProgressDialog
Initialise the pr object inside the build() method passing context to it
pr = new ProgressDialog(context,ProgressDialogType.Normal);
pr.update(message: "Few more seconds...");
pr = new ProgressDialog(context,ProgressDialogType.Download);
pr.update(progress: percentage,message: "Please wait...");
bool isProgressDialogShowing = pr.isShowing();
Loading indicator -> https://loading.io/
Add this to your package's pubspec.yaml file:
dependencies: codefirst_progress_dialog: ^1.1.0+2
You can install packages from the command line:
$ flutter pub get
Alternatively, your editor might support
flutter pub get.
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
We analyzed this package on Aug 18, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Detected platforms: Flutter
References Flutter, and has no conflicting libraries.
Document public APIs. (-1 points)
22 out of 22 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.
Maintain an example. (-10 points)
Create a short demo in the
example/ directory to show how to use this package.
Common filename patterns include
codefirst_progress_dialog.dart. Packages with multiple examples should provide
For more information see the pub package layout conventions.