blockHorizontalScrollTraverse function
Blocks a scroll event in the horizontal direction that traverses the element
.
Implementation
void blockHorizontalScrollTraverse(Element element) {
element.onWheel
.listen((event) => blockHorizontalScrollTraverseEvent(element, event));
}