flutter_overlay_loader
2.0.0, released 5 years ago by an unverified publisher
A simple Flutter package for managing overlay loading during async tasks.
What it does
It provides an easy way to show and hide an overlay loader over your UI using static methods when fetching remote data or running long asynchronous tasks. It supports customization of the overlay color, progress indicator, and safe area behavior.
AI-written summary of version 2.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a quick imperative way to display a global loading overlay during network requests.
- You want to customize whether the loader overlays app bars or bottom app bars.
Skip it when
- You are building your app around declarative state-driven loading screens or custom state management solutions.
- You require complex animations or multi-step progress flows built directly into the widget tree.
Strengths
- Very easy to use with just two lines of code for showing and hiding.
- Supports customizable overlay properties, theme data, and safe area behavior.
Weaknesses
- Relies on imperative static calls (Loader.show and Loader.hide) rather than declarative widget building.
- Limited documentation beyond basic usage snippets.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
No native configuration steps or build_runner required.
Loader.show(context, progressIndicator: LinearProgressIndicator());
// ... after task completes:
Loader.hide();Alternatives
Packages that do the same job and could replace flutter_overlay_loader.
- loading_overlay
Shows a loading overlay that auto‑hides when async work completes.
85Compare - flutter_easyloading
Lightweight, customizable loading and toast overlay for Flutter without BuildContext.
71Compare - load_switch
A toggle switch widget with an integrated loading state for asynchronous actions.
75Compare - loader_overlay
Show a loading overlay to prevent user interaction during async operations.
66Compare