sendKey method
Dispatches event through the input dispatcher and flushes any
builds it triggered. Use for special chords (arrows, escape,
ctrl-shortcuts).
Implementation
void sendKey(KeyEvent event) {
_assertNotDisposed('sendKey');
_openFrame();
_dispatcher.dispatch(event);
_owner.flushBuild();
}