VirtualKeyboard

Hi!

I am fairly new to flutter, but it looks like there is no consistent VirtualKeyboard for Touch devices (in my case a Raspberry PI with 7 inch display). So I decided to write my own. I have a glassy pane, a fully working keyboard, can toggle characters, numbers aso, but struggle entirly with the focus-management, like simulating TABs to jump from one element to the next aso.

So I tried various combinations of FocusNode, FocusScope, FocusTraversalGroup without success. I even did not find a way to simulate simple keystroke events.

Would be very nice if one of you can point me in the right direction (docs or samples).

Thanks in advance

Jens

This should work: FocusScope.of(context).nextFocus();.

Problem is: since focus in Mobile apps are kinda of useless, most devs just don’t worry about it (so many widget packages out there also will not care about focus at all).

1 Like