future_progress_dialog
0.2.1, released 4 years ago by an unverified publisher
Shows a simple progress dialog that auto‑dismisses when a Future completes.
What it does
FutureProgressDialog displays a modal loading indicator while an asynchronous operation runs. It automatically closes the dialog when the Future finishes, requiring no manual hide call.
AI-written summary of version 0.2.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a quick loading indicator for a single async task
- You want automatic dismissal without extra code
Skip it when
- You need highly custom dialog designs or animations
- You require multiple concurrent dialogs
Strengths
- Very easy to integrate
- Handles auto‑dismissal
- Null‑safe implementation
Weaknesses
- Limited styling options
- Only suitable for simple use‑cases
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
showDialog(
context: context,
builder: (_) => FutureProgressDialog(myFuture, message: Text('Loading...')),
);Alternatives
Packages that do the same job and could replace future_progress_dialog.
- sn_progress_dialog
Customizable progress dialog package for Flutter that captures the progress value.
75Compare - loader_overlay
Show a loading overlay to prevent user interaction during async operations.
66Compare - swipe_to_action
Widget to trigger callbacks on horizontal swipe gestures.
53Compare - progress_state_button
A customizable progress button widget with multiple states for Flutter.
50Compare