modal_progress_hud_alt
1.0.0, released 6 years ago by an unverified publisher
A modal progress indicator widget to block access to a widget during async operations.
What it does
Provides a widget wrapper that displays a modal progress indicator (heads-up display) over its child widget. It accepts a boolean to toggle the loading state during asynchronous calls and allows custom spinner configurations.
AI-written summary of version 1.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to block user interaction on a screen or form during an asynchronous network or database call.
- You want a simple overlay loading indicator without managing complex Z-index or Stack layers manually.
Skip it when
- You need complex state management for the loading state outside of local widget state.
- You prefer global loading overlays managed via a navigator observer rather than inline widget wrapping.
Strengths
- Simple and lightweight widget wrapper implementation.
- Customizable progress indicators, opacity, colors, and dismissal behavior.
Weaknesses
- Requires manual state management (boolean flags) for controlling the loading state.
- Limited to wrapping individual widget subtrees.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
ModalProgressHUD(
inAsyncCall: _saving,
child: Form(
child: Column(
children: [
RaisedButton(
onPressed: _submit,
child: Text('Save'),
),
],
),
),
);Alternatives
Packages that do the same job and could replace modal_progress_hud_alt.
- modal_progress_indicator
Configurable modal progress indicator widget blocking access to its subtree.
44Compare - blurry_modal_progress_hud
A simple widget wrapper to enable a modal progress hud with a blur effect.
41Compare - steps_indicator
A Flutter plugin to display a simple steps indicator line widget.
50Compare - widget_tooltip
A customizable tooltip widget for Flutter with multiple trigger modes and smart positioning
48Compare