Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add overlay pop up over all apps for stop watch , fix issue #523 #524

Conversation

AmrAbdElHamed26
Copy link
Contributor

This PR introduces a Stopwatch Popup Overlay to enhance user experience by allowing users to access the stopwatch functionality without switching between apps. The overlay popup is designed to be unobtrusive, ensuring it doesn't obscure important content on the screen, and provides the flexibility to change its position as needed.

Three new functions have been added:

1- _showStopWatchPopUpOverlay: Displays the popup overlay for the stopwatch.
2- _updatePopUpOverLayStopWatchResult: Sends data to the Stopwatch Popup Overlay and updates the time using a StreamBuilder.
3- _closeStopWatchPopUpOverlay: Closes the Stopwatch Popup Overlay without affecting the stopwatch timer on the main app screen.
Additionally, the StopWatchOverLayWidget component has been added to facilitate the creation and usage of the popup overlay.

The project structure has been updated accordingly, and these changes have been implemented specifically for Android. Further updates to make the overlay popup functionality compatible with both Android and iOS will be addressed in a separate issue for the overlay_pop_up package.

Fixes the issue #523
video :

XRecorder_17032024_054352.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants