basic_loading_overlay 2.0.1 copy "basic_loading_overlay: ^2.0.1" to clipboard
basic_loading_overlay: ^2.0.1 copied to clipboard

A basic modal loading overlay that blocks navigation and user interaction until programmatically dismissed.

A basic modal loading overlay for Flutter applications.

Features #

  • Displays a modal loading overlay.
  • Prevents user interaction while visible.
  • Prevents back navigation while visible.
  • Customizable loading indicator color.
  • Customizable loading indicator size.
  • Customizable loading indicator stroke width.

Usage #

Show the loading overlay

LoadingOverlay.show(
  context: context,
);

Customize the loading indicator

LoadingOverlay.show(
  context: context,
  loadingIndicatorColor: Colors.redAccent,
  size: 50,
  strokeWidth: 6,
);

Dismiss the loading overlay

Navigator.of(context).pop();

Additional information #

If you find this package useful, please consider giving it a like.

0
likes
160
points
167
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A basic modal loading overlay that blocks navigation and user interaction until programmatically dismissed.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on basic_loading_overlay