4.6 Interaction 交互 - Keyboard键盘


(板栗:这个模块不懂啥意思怎么用)
Capture key presses from the computer keyboard. Useful for quickly toggling a switch.
Use a Material Text Field or iOS Text Field for free text input.
从电脑键盘捕获按键。用于快速切换开关。
使用Material Text Field或 iOS Text Field设置文本输入。

4.6 Interaction 交互 - Keyboard键盘_第1张图片

输入口
Key 键
A text string representing the key on the keyboard to capture.
表示键盘上捕获的键的文本字符。(板栗:可能是定义输入哪个键吧~)

输出口
Down 按下
A boolean that is true when the key is pressed.
按下键时布尔值为真。


Related Patches 相关模块

Text Field


你可能感兴趣的:(4.6 Interaction 交互 - Keyboard键盘)