我正在尝试在我的 flutter 桌面项目中使用 image_picker 插件,但我认为这个插件没有与 Windows 桌面应用程序一起使用的实现。
有人有解决办法吗?
Ps:我想使用 go-flutter 和悬停。
有两种选择:
-
实施适用于 Windows 的插件 https://github.com/google/flutter-desktop-embedding/blob/master/plugins/README.md#writing-your-own-plugins.
- Use FDE 的 file_chooser 插件 https://github.com/google/flutter-desktop-embedding/tree/master/plugins/file_chooser (once Windows 实现落地 https://github.com/google/flutter-desktop-embedding/pull/651)并为您想要允许的图像类型设置文件类型过滤器。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)