loading_overlay library
Accessible, concurrency-safe loading overlays for Flutter.
Use LoadingOverlay for boolean state, LoadingOverlay.withFuture for an existing future, or LoadingOverlayScope and LoadingOverlayController.run for automatic cleanup of one or more operations.
Classes
- LoadingOverlay
- Places an accessible loading overlay within its child's layout bounds.
- LoadingOverlayBackGuard
- Protects a route when the overlay host sits above the Navigator.
- LoadingOverlayController
- Owns loading operations without retaining a BuildContext or global state.
- LoadingOverlayData
- An immutable snapshot supplied to overlay builders and controller listeners.
- LoadingOverlayIndicator
- A design-system-independent progress ring with no third-party dependencies.
- LoadingOverlayScope
- Hosts a loading overlay and provides its controller to descendants.
- LoadingOverlayStyle
- Immutable presentation settings shared by every loading control mode.
- LoadingOverlayTask
- An independently owned loading operation returned by a controller's start.
- LoadingOverlayTheme
- Supplies presentation defaults to descendant overlays and scopes.
Extensions
- LoadingOverlayContext on BuildContext
- Convenient access to the nearest scope from a descendant BuildContext.
Typedefs
- LoadingOverlayWidgetBuilder = Widget Function(BuildContext context, LoadingOverlayData data)
- Builds custom overlay content from a typed loading snapshot.