Giter Club home page Giter Club logo

Comments (5)

X-SLAYER avatar X-SLAYER commented on July 20, 2024

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.

kmemo avatar kmemo commented on July 20, 2024

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.

X-SLAYER avatar X-SLAYER commented on July 20, 2024

try to run the example folder

from flutter_overlay_window.

kmemo avatar kmemo commented on July 20, 2024

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.

kmemo avatar kmemo commented on July 20, 2024

I have realised this is a duplidate of issue #18

from flutter_overlay_window.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.