我有一个用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
发布于 2019-06-11 11:59:22
插件是not yet supported on flutter_web
的,我们还不知道迁移故事的细节。调用原生Java或Swift代码的插件将无法自动迁移。任何导入dart:io
或dart:isolate
的代码也不受支持,需要重写。
https://stackoverflow.com/questions/56536181
复制相似问题