onPanUpdate method

GestureDetector onPanUpdate({
  1. required dynamic onPanUpdate(
    1. DragUpdateDetails
    ),
})

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,
  );
}