How to fire a key event in my test code to make the program act as if a user pressed a key?
How to fire a key event in my test code to make the program act as if a user pressed a key?
Answer
Two ways to implement it in code: generating OS level key event use Display.post(Event) or use Widge.notifyListeners(...) to just notify a widget's listeners.
Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website.
If you are using this website then its your own responsibility to understand the content of the website