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
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.
- gradient_progress_bar
Customizable progress indicators with gradient and colorful circular designs
53Compare - flutter_progress_hud
Highly customizable modal progress indicator with fade animation for Flutter.
50Compare - pull_to_refresh_new
A refresh indicator widget that supports android, ios, and web.
41Compare - simple_circular_progress_bar
A simple customizable circular progress indicator widget for Flutter.
50Compare