据我了解,Jetpack Compose Textfield 有一个 API 用于捕获键盘操作,但我不知道哪些 API 可以捕获 Enter-Input
此捕获输入输入的用例是启用单击 Enter 并尝试转到下一个 TextField 并在保持键盘打开的同时保持
OutlinedTextField(
value = username.value,
onValueChange = {
username.value = it
},
keyboardActions = KeyboardActions(
onDone = {},
onGo = {},
onNext = {},
onPrevious ={},
onSearch ={},
onSend = {}
)
)