I am trying to execute a function upon Enter Key pressed on soft keyboard and I found Modifier.onKeyEvent{}
to listen to user input on soft keyboard in general.
However, this doesn't work with Enter key(especially 'Done' key on number pad).
My soft keyboard looks like this
with this option below in TextField
keyboardOptions = KeyboardOptions.Default.copy(keyboardType = KeyboardType.Number)
when I print logs on any key pressed, all other keys press are recognized but those 'Done' and '.-' keys.