从Flutter应用中调用JavaScript函数 [英] Calling a javascript function from flutter app

查看:1091
本文介绍了从Flutter应用中调用JavaScript函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个第三方API给我的脚本,我应该在客户端执行该脚本.为此,我需要以某种方式从dart调用此JS函数.我已经看到酒吧里有一个JS库,但是我不知道该怎么办.有人可以解释一下吗?

I have a script given me by third party API that I should perform on the client side. For that I need to somehow call this JS function from dart. I've seen that there's a JS Library out in the pub, but I don't know exactly what I should do. Can somebody explain please?

推荐答案

您是否尝试过 flutter_liquidcore

interactive_webview

这篇关于从Flutter应用中调用JavaScript函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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