bubbleKeyEvent method

bool bubbleKeyEvent(
  1. KeyEvent event
)

Traverses up from the primary focus node to let nodes consume keypresses.

Implementation

bool bubbleKeyEvent(KeyEvent event) {
  final leaf = findFocusedLeaf();
  if (leaf != null) {
    return leaf._bubbleUp(event);
  }
  return false;
}