DragSelectionUpdateCallback typedef Null safety
Signature for when a pointer that's dragging to select text has moved again.
The first argument startDetails
contains the details of the event that
initiated the dragging.
The second argument updateDetails
contains the details of the current
pointer movement. It's the same as the one passed to DragGestureRecognizer.onUpdate.
This signature is different from GestureDragUpdateCallback to make it easier for various text fields to use TextSelectionGestureDetector without having to store the start position.
Implementation
typedef DragSelectionUpdateCallback = void Function(DragStartDetails startDetails, DragUpdateDetails updateDetails);