Skip to content
pubscout

flutter_overlay_manager

2.0.2, released 2 years ago by an unverified publisher

Manage UI overlays and loading indicators separately from your main navigation.

WASM-ready
$ flutter pub add flutter_overlay_manager
Source repository

What it does

A Flutter package for managing overlays by separating the main UI and navigation from overlay layers. It provides built-in loading indicator support, z-index sorting, and prevents lifecycle issues common with standard dialogs.

AI-written summary of version 2.0.2, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to display global loading indicators without interfering with route lifecycles.
  • You want to manage multiple stacked custom overlays using z-indices.

Skip it when

  • You are relying strictly on declarative routing paradigms where overlays must be bound directly to route states.
  • You prefer standard Navigator-based dialog management.

Strengths

  • Separates main UI and navigation from overlays
  • Built-in loading overlay with easy control
  • Supports z-index sorting for custom overlays

Weaknesses

  • Relies on imperative singleton or instance calls for showing and hiding overlays
  • Limited to the provided features without built-in advanced route transition animations

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
2

Initialize the manager in the MaterialApp builder method.

FlutterOverlayManager.I.builder((context) => child!)

Alternatives

Packages that do the same job and could replace flutter_overlay_manager.

Works with

Packages commonly used together with flutter_overlay_manager: ones it builds on, ones built on it, and its own family.