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

求教悬浮窗里怎么使用flutter_inappwebview插件呢 #20

Open
sometimes9 opened this issue Jul 4, 2022 · 11 comments
Open

求教悬浮窗里怎么使用flutter_inappwebview插件呢 #20

sometimes9 opened this issue Jul 4, 2022 · 11 comments

Comments

@sometimes9
Copy link

求教悬浮窗里怎么使用flutter_inappwebview插件呢

@qiuxiang
Copy link
Owner

qiuxiang commented Jul 4, 2022

使用的时候报什么错?

@sometimes9
Copy link
Author

image

@qiuxiang
Copy link
Owner

qiuxiang commented Jul 4, 2022

我没有试过在浮窗里用原声组件,有待测试

@sometimes9
Copy link
Author

感谢回复 可否空闲的时候尝试一下

@qiuxiang
Copy link
Owner

qiuxiang commented Jul 4, 2022

有空我会看的,这个项目还会继续维护

@qiuxiang
Copy link
Owner

qiuxiang commented Jul 4, 2022

得加点代码,然后我试了下 webview_flutter,能显示,其他事件看起来没问题,就是拖拽手势有问题,可能不太容易解决,另外再找时间看。
image

@qiuxiang
Copy link
Owner

qiuxiang commented Jul 4, 2022

image

@sometimes9
Copy link
Author

赞,干的漂亮,我尝试下,还有两个问题想麻烦请教下,悬浮窗能实现沉浸式状态栏或者全屏么,还有怎么能监听到back通知呢

@sometimes9
Copy link
Author

image

@qiuxiang
Copy link
Owner

qiuxiang commented Jul 4, 2022

全屏大概不行,back 我也没试过,可以试试 WillPopScope

@sometimes9
Copy link
Author

image
image
我还是没能成功使用flutter_inappwebview插件,InAppWebView方式,能否帮忙提供个例子,不胜感激

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