Comments (9)
yes i didin't update the latest version on pub.dev yet
you can use the git version until I update it
flutter_overlay_window:
git:
url: https://github.com/X-SLAYER/flutter_overlay_window.git
from flutter_overlay_window.
Hey @Binj0, as mentioned in the #36 -
the package on pub.dev doesn't seem to be updated.
I also got the same issue and got it fixed using the git-branch directly. You can do the same, by adding the below in your pubspec.yaml -
dependencies:
flutter:
sdk: flutter
flutter_overlay_window:
git:
url: https://github.com/X-SLAYER/flutter_overlay_window.git
ref: main # use master branch
Hopefully, the maintainer will resolve the issue with pub.dev.
As for,
Question 1: Is there a way to make the overlay, when set to clickthrough...
click_through_overlay.mp4
I have a solid overlay when using the OverlayFlag.clickThrough
as seen above.
Question 2: Is there a way to overlay the content above the system navigation...
I think that's enforced by the system (as you shouldn't overlay on top of the system status/navigation bar) but, I may be wrong 🤔.
from flutter_overlay_window.
Thank you for the answers!
After doing as suggested closing the window works.
When setting flag: OverlayFlag.clickThrough
my overlay still won't stay fully opaque:
from flutter_overlay_window.
That's probably because of the MAXIMUM_OPACITY_ALLOWED_FOR_S_AND_HIGHER
-
from flutter_overlay_window.
did you change the background color of your overlay widget
from flutter_overlay_window.
did you change the background color of your overlay widget
I am using the flame package and the SpriteAnimationWidget
from flutter_overlay_window.
i don't have idea about it, but if you put a simple widget like a container for example, and change the colours with some opacity u can see behind it
from flutter_overlay_window.
Yes, as seen here this effect also occurs with just a colored container:
It seems like @mulaRahul answer about private static final float MAXIMUM_OPACITY_ALLOWED_FOR_S_AND_HIGHER = 0.8f;
ist what causes this. Is there a reason for this maximum opacity?
from flutter_overlay_window.
the MAXIMUM_OPACITY_ALLOWED_FOR_S_AND_HIGHER
is for android 12 and above they have a maximum alpha code so you can click above the overlay you can check more here
from flutter_overlay_window.
Related Issues (20)
- Unable to work with method channel on overlay
- flutter_overlay_window / flutter_background_service
- Invalid file path for libcolorx-loader.so Error while rendering model viewer widget inside overlay.
- Error on demo code
- Overlay window doesn't work in apk release mode
- Android API 33 crashes HOT 3
- Values in resizeOverlay not coherent with values in showOverlay HOT 2
- Crached when close overlay in android 12 HOT 5
- Wrong size when switching between portrait and landscape mode.
- Can flutter_web be used in Windows?
- TextFormField not supported HOT 1
- Not able to add any other plugin into the overlay screen
- Not able to receive message from flutter_background_service HOT 1
- when call Function showOverlay() nothing action HOT 2
- add ios support HOT 5
- Unable to create service flutter.overlay.window.flutter_overlay_window.OverlayService: HOT 4
- Add support for android API 34 HOT 1
- Height doesn't account for status bar
- Use of `FlutterEngineGroup` instead of simply using `FlutterEngine` HOT 1
- Overlay stops sending messages to UI when it's turned on after previously being closed after app termination
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter_overlay_window.