progress_dialog 1.0.6 copy "progress_dialog: ^1.0.6" to clipboard
progress_dialog: ^1.0.6 copied to clipboard

discontinued
outdated

A light weight library to easily manage a progress dialog with simple steps whenever you need to do it. You can easily show and hide it. It is a stateful widget so you can dynamically change the text [...]

progress_dialog #

A light weight package to show progress dialog. As it is a stateful widget, you can change the text shown on the dialog dynamically.

Get the library | Example

Supported Dart Versions #

Dart SDK version >= 2.1.0

Demo #

Normal Download
Normal Progress Download Progress

How to use #

Add Package

  progress_dialog: ^1.0.6
import 'package:progress_dialog/progress_dialog.dart';

Create an instance of ProgressDialog

ProgressDialog pr;

Initialise the pr object inside the build() method passing context to it

For Normal Progress Dialog

pr = new ProgressDialog(context,ProgressDialogType.Normal);

For Download Progress Dialog

pr = new ProgressDialog(context,ProgressDialogType.Download);

If need you can change the default message of progress dialog

pr.setMessage('Please wait...');

Showing the progress dialog

pr.show();

Dynamically update the content shown out there

pr.update(message: "Few more seconds...");

If you have been using progress dialog of type Download, percentage should be a double

pr.update(progress: percentage,message: "Please wait...");

Dismissing the progress dialog

pr.hide();

Check if progress dialog is showing

bool isProgressDialogShowing = pr.isShowing();
238
likes
0
pub points
96%
popularity

Publisher

unverified uploader

A light weight library to easily manage a progress dialog with simple steps whenever you need to do it. You can easily show and hide it. It is a stateful widget so you can dynamically change the text shown there.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on progress_dialog