progress_loader_overlay 3.0.1
progress_loader_overlay: ^3.0.1 copied to clipboard

A flutter package to show an easy to use and fully customizable progress loader as an overlay.

Progress Loader Overlay Flutter Package #

A flutter package to show an easy to use and fully customizable progress loader as an overlay.

The overlay abstract all the logic of managing it's own state for you so you don't have to worry about having 2 progress loaders showing at the same time if you call the show method more than once at the same time.

You have full control over the widget shown in the loader too, including any animation. You could even play a video there, or some soothing elevator music, up to you.

You also have access to a modified version of WillPopScope that makes it a breath to react when users press the back button when your loader is showing (and either prevent navigation or allow it and dismiss the loader).

Showing and dismissing the loader is as simple as that:

    await ProgressLoader().show(context);
    await Future<void>.delayed(Duration(seconds: 2));
    await ProgressLoader().dismiss();

Using your own widget for the loader is as simple as that:

    ProgressLoader().widgetBuilder = (context, _) => MyLoaderWidget();

You can also change your loader widget at runtime whenever you want!

2
likes
130
pub points
66%
popularity

A flutter package to show an easy to use and fully customizable progress loader as an overlay.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD (LICENSE)

Dependencies

flutter

More

Packages that depend on progress_loader_overlay