onPanUpdate method
Adds a pan update gesture handler to the widget.
onPanUpdate The callback function to execute on pan updates.
Implementation
GestureDetector onPanUpdate(
{required Function(DragUpdateDetails) onPanUpdate}) {
return GestureDetector(
onPanUpdate: onPanUpdate,
child: this,
);
}