The vertical version of drag is almost the same as the horizontal version. The significant differences are in the callback properties, which are onVerticalDragStart, onVerticalDragUpdate, and onVerticalDragEnd.
What changes for vertical and horizontal callbacks in terms of code is the delta property value of the DragUpdateDetails class. For horizontal, it will only have the horizontal part of the offset changed, and for vertical, the opposite is the case.