在 Flutter 中设置鼠标光标位置
桌面版 Flutter 是否可以设置鼠标光标的位置?
我确信使用自定义插件可以做到这一点,但我希望有一个跨平台的 Dart 解决方案或现有的插件。
Is it possible to set the position of the mouse cursor using Flutter for desktop?
I'm sure this is possible using custom plugins, but I'm hoping for a cross-platform Dart solution or an existing plugin.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Flutter 中没有内置此类功能。
There is no such functionality built into Flutter.
在 cpp 文件上创建一个方法通道并调用 SetCursorPos 函数。
Make a method channel between and call SetCursorPos function on cpp file.