Skip to content
pubscout

modal_progress_indicator

1.0.3, released 2 years ago by dowhile.space

Configurable modal progress indicator widget blocking access to its subtree.

WASM-ready
$ flutter pub add modal_progress_indicator
Source repository

What it does

Wraps a widget and displays a modal progress indicator over it based on a boolean visibility flag. It allows configuring background color, opacity, and blur effects.

AI-written summary of version 1.0.3, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to block user interaction with a widget while an asynchronous operation is running.
  • You want a simple modal loading overlay with customizable background options.

Skip it when

  • You need a complex state-management architecture built into your loading indicators.

Strengths

  • Easy to wrap around any existing widget and its subtree.
  • Configurable background color, opacity, and blur effects.

Weaknesses

  • Limited feature set beyond basic modal progress blocking.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
ModalProgressIndicator(
  visible: true,
  indicator: CircularProgressIndicator(),
  options: BackgroundOptions(
    color: Colors.black,
    opacity: 0.5,
    blurEffect: BlurEffect(
      sigmaX: 1.5,
      sigmaY: 1.5,
    ),
  ),
  child: child,
)

Alternatives

Packages that do the same job and could replace modal_progress_indicator.