Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
假设我编写了某种类型的库并将其转换为 js(每个 dart2js)。如何访问原型以创建对象?解决飞镖命名空间的正确方法是什么?
您可以向 JavaScript 公开函数
另请参阅js 库
我认为没有办法将类公开给 JavaScript,但我不确定这一点。