gestureDispatcher property

GestureDispatcher? get gestureDispatcher

Implementation

GestureDispatcher? get gestureDispatcher {
  RenderObject? p = parent;
  while(p != null) {
    if (p is RenderViewportBox) {
      return p.gestureDispatcher;
    }
    if (p is RenderPortal) {
      return p.gestureDispatcher;
    }

    p = p.parent;
  }
  return null;
}