dispatchOnKeyDown method

  1. @override
PCanvasKeyEvent dispatchOnKeyDown(
  1. PCanvasKeyEvent event
)
override

Processes event and calls onKeyDown

Implementation

@override
PCanvasKeyEvent dispatchOnKeyDown(PCanvasKeyEvent event) {
  var event2 = super.dispatchOnKeyDown(event);
  onKeyDown(event2);
  return event2;
}