Skip to content
pubscout

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.

WASM-ready
$ flutter pub add modal_progress_hud_alt
Source repository

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.