Package selection guidance compiled from public package information, community data, and project usage.
A Flutter plugin enabling the display of pop-ups or overlay screens on Android, even when the app is closed or terminated. It leverages Android's system-level overlay permissions to show content above other apps, useful for notifications, quick actions, or persistent UI elements. The plugin integrates seamlessly with Flutter and requires user permission to function. It is designed specifically for Android and does not support iOS. Developers can customize the appearance and behavior of overlays programmatically.
Use cases
Displaying persistent notifications
Creating floating action panels
Showing alerts when app is backgrounded
Implementing quick-access tools
Providing real-time updates over other apps
Key features
Works even when app is killed
Android-only overlay support
Customizable overlay content
System-level permission handling
Simple integration with Flutter
Suitable for
Developers building always-on UI components
Apps needing persistent overlays
Tools requiring foreground visibility
Notification-enhanced applications
Utility apps with floating interfaces
Considerations
Requires Android system overlay permission
Not available on iOS
May be restricted by device manufacturers
User must manually enable permission
Can impact battery and performance
Original README
Original README snapshot from the linked source repository. Visit the repository for the latest content.
overlay_pop_up
A new Flutter plugin to display pop ups or screens over other apps in Android even when app is closed or killed.
backgroundBehavior by default is focusable flag that is you can take focus inside a overlay for example inside a textfield and [tapThrough] you can tap through the overlay background even if has MATCH_PARENT sizes.
screenOrientation by default orientation is portrait.
closeWhenTapBackButton by default when user presses back button the overlay no has any action if you pass true then back button will close overlay.
isDraggable by default is false therefore the overlay can´t be dragged.
entryPointMethodName by default is 'overlayPopUp' if you want you can change it
awaitOverlayPopUp.showOverlay();
returns true if overlay closed correctly or already is closed
awaitOverlayPopUp.closeOverlay();
returns the overlay status true = open, false = closed
awaitOverlayPopUp.isActive();
returns the last overlay position if drag is enabled