首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >如何将flutter移动应用迁移到flutter web

如何将flutter移动应用迁移到flutter web
EN

Stack Overflow用户
提问于 2019-06-11 11:45:53
回答 1查看 7.8K关注 0票数 2

我有一个用flutter编写的移动应用程序,我想将它转换为flutter_web应用程序(集成flutter还不可用)。我现在遇到了一些包的问题。

我得到以下错误

webdev could not run for this project.
You have a dependency on `cached_network_image` which is not supported for flutter_web tech preview. See https://flutter.dev/web for more details.
You have a dependency on `cloud_firestore` which is not supported for flutter_web tech preview. See https://flutter.dev/web for more details.
You have a dependency on `cupertino_icons` which is not supported for flutter_web tech preview. See https://flutter.dev/web for more details.
You have a dependency on `firebase_core` which is not supported for flutter_web tech preview. See https://flutter.dev/web for more details.
You have a dependency on `flutter` which is not supported for flutter_web tech preview. See https://flutter.dev/web for more details.
You have a dependency on `path_provider` which is not supported for flutter_web tech preview. See https://flutter.dev/web for more details.
You have a dependency on `sqflite` which is not supported for flutter_web tech preview. See https://flutter.dev/web for more details.
pub finished with exit code 78
EN

回答 1

Stack Overflow用户

发布于 2019-06-11 11:59:22

插件是not yet supported on flutter_web的,我们还不知道迁移故事的细节。调用原生Java或Swift代码的插件将无法自动迁移。任何导入dart:iodart:isolate的代码也不受支持,需要重写。

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/56536181

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档