Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

可否支持桌面端复制粘贴图片到Extend text field #233

Open
lucasjinreal opened this issue Jan 31, 2024 · 10 comments
Open

可否支持桌面端复制粘贴图片到Extend text field #233

lucasjinreal opened this issue Jan 31, 2024 · 10 comments

Comments

@lucasjinreal
Copy link

rt

@zmtzawqlp
Copy link
Member

你可以先给官方开issue

@zmtzawqlp
Copy link
Member

https://pub.dev/packages/super_clipboard 你可以参考下这个

@lucasjinreal
Copy link
Author

我知道有一些库可以从剪切板提取图片。

我的问题是能否再textfield扩展这个功能,extend_textfiled,例如 ctrl+v把图片一起囊括进来。主要用于desktop的一些应用,还是蛮有用的

@zmtzawqlp
Copy link
Member

没有计划,这个库的底层是跟官方一样的。没有官方的支持,很难做到那种效果。监听cv是系统的channel

@lucasjinreal
Copy link
Author

可以持续关注一下,看看官方是否可能增加支持,否则就真的是太拉了flutter

@zmtzawqlp
Copy link
Member

可以尝试给 Flutter Team pr

@TheCGDF
Copy link

TheCGDF commented Feb 18, 2024

没有计划,这个库的底层是跟官方一样的。没有官方的支持,很难做到那种效果。监听cv是系统的channel

fllutter提供了Shortcuts Widget 来监听ctrl c/v等快捷键,但是右键复制粘贴就不好处理了,目前看来似乎是要用Actions Widget来实现,但是Actions似乎相当复杂,偏偏官方文档又几乎啥都没写

@lucasjinreal
Copy link
Author

我已经实现了。。

@zmtzawqlp
Copy link
Member

那很厉害呢,有时间可以给官方做一下 pr

@TheCGDF
Copy link

TheCGDF commented Feb 19, 2024

我已经实现了。。

同求pr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants