webview_flutter与flutter_webview_plugin之间哪个更好 [英] Which is better between webview_flutter vs flutter_webview_plugin

查看:108
本文介绍了webview_flutter与flutter_webview_plugin之间哪个更好的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在颤抖中开发了网络视图.我不清楚哪个更好webview_flutter与flutter_webview_plugin.

I have been developed web view in flutter.I don't know clearly which is better webview_flutter vs flutter_webview_plugin.

推荐答案

webview_flutter 中,可以在Web视图上显示Flutter小部件."

In webview_flutter, "Flutter widgets can be shown over the web view." source

flutter_webview_plugin 中,"Web视图未集成在小部件树中,它是在Flutter视图之上的本机视图.您将无法使用小吃店,对话框..."

In flutter_webview_plugin, "The webview is not integrated in the widget tree, it is a native view on top of the flutter view. you won't be able to use snackbars, dialogs ..." source

此外,还有键盘问题,因此,如果您打算将其用于OAuth还是坚持使用 flutter_webview_plugin

Also, there is keyboard issue so if you intend to use this for OAuth or something, stick with flutter_webview_plugin

详细了解reddit

这篇关于webview_flutter与flutter_webview_plugin之间哪个更好的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆