Comments (5)
if the copy on ur device missing something just try flutter clean or remove the plugin from pubspec and re-install again
from flutter_overlay_window.
Hi, I have done flutter clean couple of times prior to creating this thread. Also, I have deleted locally downloaded cache directory "flutter_overlay_window-0.3.2" however "flutter get" always re-creates the folder with codes with "FlutterOverlayWindowPlugin.java" with missing closeOverlay() support.
Would anyone who is currently using the latest version (0.3.2) of this plugin confirm that I am the only one having this problem? Thanks.
from flutter_overlay_window.
try to run the example folder
from flutter_overlay_window.
Hi, I have run your example dwonloaded with "flutter get" but it calls
onPressed: () async {
await FlutterOverlayWindow.shareData('close');
},
to close the overlay and this worked fine. However this is not clearly described in your API reference (I believe) .
But, according to your API reference has "closeOverlay" method and supposes to be implemented as:
static Future<bool?> closeOverlay() async {
final bool? _res = await _overlayChannel.invokeMethod('close');
return _res;
}
I have been using this "closeOverlay" method to close the opened overlay and your plugin has been throwing an error for each call to the method.
If you say the 1st way is the correct implementation I think you need to add more information to "shareData" method in the reference and remove "closeOverlay" method from the reference.
from flutter_overlay_window.
I have realised this is a duplidate of issue #18
from flutter_overlay_window.
Related Issues (20)
- Could not run the example
- FlutterOverlayWindow.showOverlay(height: WindowSize.fullcover) wont work
- Listview scroll event conflicts with FlutterOverlayWindow drag, HOT 5
- Save overlay position
- Open the main app from floating window? HOT 5
- MissingPluginException HOT 1
- Open Overlay from background when app is kill state HOT 5
- Android 14 requirese foregroundServiceType HOT 1
- Crash in production HOT 7
- Does not display all objects
- I can't display my data on the overlay window. HOT 3
- warning red
- Back button not working! HOT 1
- Open overlay causes crashing when upgrade Android SDK to 34 HOT 2
- can't show anything HOT 1
- Overlay content update HOT 1
- Overlay Window doesn't disappear when app is in kill state
- Support IOS
- How to resizeOverlay when it isActive
- How to create 2 overlay service at the same time?
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.