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

表达一下支持,顺便提个问题,原生的API,如何翻译? #3

Open
tan133 opened this issue Oct 30, 2019 · 1 comment

Comments

@tan133
Copy link

tan133 commented Oct 30, 2019

比如,getUserInfo,是自己用dart实现一遍,还是可以直接用JS?能否在示例中给一个?方便大家贡献力量

@pedia
Copy link

pedia commented May 20, 2020

第一种能直接通过 HTML Dom 调用的,感觉可以用标准的 flutter web plugin 实现,实际使用 dart:html 来达到目的。
第二种必须调用 JavaScript 的,可以使用 dart:js 调用原生 JavaScript 达到目的。

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