简体   繁体   English

通过外部脚本/插件使Flutter应用程序可扩展的最佳方法

[英]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.

相关问题 Flutter 插件和应用程序发布问题 - Flutter problem with plugins and app release 制作系统(股票)应用的最佳方法 - Best way to make system (stock) app 制作视频合并移动应用程序的最佳方法 - Best way to make a video merging mobile app 在Android中制作多活动应用的最佳方法 - Best way to make a multi activity app in android 为应用程序库制作缩略图的最佳方法 - Best way to make thumbnails for app gallery 在Android应用和外部数据库之间进行通信的最佳方式 - Best way to communicate between Android app and external database 如何使所有构建脚本出现在插件之前 - How do i make all build scripts to appear before plugins 制作按钮的最佳方法 - best way to make buttons 为外部 API 的网络请求更改 android 应用程序的默认用户代理的最佳方法是什么? - What is the best way to change the default User Agent for an android app for network request by an external API? 在我的外部数据库中使用 google-in-app 计费保存用户订阅的最佳方法? - Best way to save users subscription with google-in-app billing in my external database?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM