Giter Site home page Giter Site logo

Comments (6)

andycall avatar andycall commented on August 14, 2024

受制于flutter的限制,目前全局键盘事件只支持桌面端

from webf.

dunkong avatar dunkong commented on August 14, 2024

受制于flutter的限制,目前全局键盘事件只支持桌面端

感谢您的回答,这么晚了打扰您了,因为想用webf实现一个安卓tv项目,所以使用到了键盘事件,那利用dart和js之间的通信,模拟实现键盘事件的监听可行吗?

from webf.

andycall avatar andycall commented on August 14, 2024

问题就在dart这块, flutter engine 在移动端没提供这个功能

from webf.

dunkong avatar dunkong commented on August 14, 2024

问题就在dart这块, flutter engine 在移动端没提供这个功能

好吧,感谢大佬这么晚的解答,那看来这条路行不通了,不过我看有使用flutter制作成的安卓tv应用,那应该是有办法监听键盘事件的才对呀

from webf.

andycall avatar andycall commented on August 14, 2024

可能是我不清楚怎么搞,你可以研究一下。如果找到方法了记得通知我一下。

from webf.

dunkong avatar dunkong commented on August 14, 2024

可能是我不清楚怎么搞,你可以研究一下。如果找到方法了记得通知我一下。

好的大佬,感谢这么晚的耐心解答,我这边试试

from webf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.