[英]Best way to make flutter app extensible by with external scripts/plugins
We are building android app with flutter (our first flutter app), and need ability to extend app functionality with external scripts or plugins. 我们正在使用flutter(我们的第一个flutter应用程序)构建android应用程序,并且需要能够使用外部脚本或插件扩展应用程序功能的功能。 I consider to use javascript engine like https://github.com/LiquidPlayer/LiquidCore , but maybe there is a way to run external DART code in the app?
我考虑使用https://github.com/LiquidPlayer/LiquidCore之类的JavaScript引擎,但是也许可以在应用程序中运行外部DART代码吗?
Mindaugas 明道加斯
只需创建一个外部脚本/插件库,然后将其作为依赖项添加到pubspec.yaml中即可。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.