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

全局悬浮窗的使用 #20

Open
ly410726 opened this issue Jun 27, 2023 · 1 comment
Open

全局悬浮窗的使用 #20

ly410726 opened this issue Jun 27, 2023 · 1 comment

Comments

@ly410726
Copy link

使用floatingOne = floatingManager.createFloating(
"1",///key
Floating(const FloatingIncrement(),
slideType: FloatingSlideType.onLeftAndTop,
isShowLog: false,
slideBottomHeight: 100));
创建的全局悬浮框怎样才可以释放。
floatingManager.closeFloating("1");方法只是关闭了悬浮框,并没有实际的释放掉悬浮框

@LvKang-insist
Copy link
Owner

使用floatingOne = floatingManager.createFloating( "1",///key Floating(const FloatingIncrement(), slideType: FloatingSlideType.onLeftAndTop, isShowLog: false, slideBottomHeight: 100)); 创建的全局悬浮框怎样才可以释放。 floatingManager.closeFloating("1");方法只是关闭了悬浮框,并没有实际的释放掉悬浮框

你好,floatingManager.closeFloating 是可以释放的,内部调用的是 close 方法,会释放掉悬浮窗的哈,你可以看看源码

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

No branches or pull requests

2 participants