onVerticalDragUpdate method

dynamic onVerticalDragUpdate(
  1. DragUpdateDetails _,
  2. int index
)

Implementation

onVerticalDragUpdate(DragUpdateDetails _, int index) {
  this.setState(() {
    tops[index] = _endY + (_.globalPosition.dy - _startY);
  });
}