blockVerticalScrollTraverse function

void blockVerticalScrollTraverse(
  1. Element element
)

Blocks a scroll event in the vertical direction that traverses the element.

Implementation

void blockVerticalScrollTraverse(Element element) {
  element.onWheel
      .listen((event) => blockVerticalScrollTraverseEvent(element, event));
}