onKey method
Subscribe to key events at the given priority.
Implementation
InputSubscription onKey(
KeyEventHandler handler, {
int priority = InputPriority.widget,
}) => _dispatcher.onKey(handler, priority: priority);
Subscribe to key events at the given priority.
InputSubscription onKey(
KeyEventHandler handler, {
int priority = InputPriority.widget,
}) => _dispatcher.onKey(handler, priority: priority);