How to listen specific key that's pressed in a TextField in Flutter?

830 Views Asked by At

I need to detect backspace key in a TextField.

I found RawKeyboardListener widget but it only works for physical keyboards. When I press backspace using the phone keyboard, is does not trigger. I need something like RawKeyboardListener, but that's able to detect phone keyboard events

0

There are 0 best solutions below