overlay_layers 0.2.0
overlay_layers: ^0.2.0 copied to clipboard
A flexible overlay system for Flutter with support for popups, modals, toasts, and dialogs
0.2.0 #
Features #
- Flexible overlay rendering with
includeContainerparameter (lib/src/core/overlay_manager.dart:158)- Added
includeContainerboolean parameter toOverlayRoot(defaults totrue) - When
true: Automatically includesOverlayContainerin a Stack for immediate overlay support - When
false: Allows manual placement ofOverlayContainerfor advanced layout control - Enables precise control over where overlays render in the widget tree
- Useful for complex UIs where overlays should only cover specific sections
- Added
Documentation #
- Enhanced architecture documentation (lib/src/core/overlay_manager.dart:132-146)
- Added comprehensive doc comments explaining the provider pattern
- Documented the relationship between
OverlayRoot,OverlayProvider, andOverlayContainer - Clarified when and how to use
includeContainerparameter - Added examples for both automatic and manual container placement
Code Quality #
- Formatting standardization: Applied consistent Dart formatting throughout the codebase
- Simplified export statements in lib/overlay_layers.dart
- Streamlined constructor formatting
- Improved method call formatting with compact arrow function syntax
- Consistent line breaking in lib/src/core/overlay_manager.dart
Breaking Changes: None - fully backward compatible. Existing code works without modification.
0.1.0 (Planned) #
- Initial public release to pub.dev with popup support, overlay management system, type-safe data passing, positioning system