|
|
@ -311,9 +311,7 @@ class EditorTextSelectionGestureDetectorBuilder { |
|
|
|
/// * [EditorTextSelectionGestureDetector.onDragSelectionUpdate], |
|
|
|
/// * [EditorTextSelectionGestureDetector.onDragSelectionUpdate], |
|
|
|
/// which triggers this callback./lib/src/material/text_field.dart |
|
|
|
/// which triggers this callback./lib/src/material/text_field.dart |
|
|
|
@protected |
|
|
|
@protected |
|
|
|
void onDragSelectionUpdate( |
|
|
|
void onDragSelectionUpdate(DragUpdateDetails updateDetails) { |
|
|
|
//DragStartDetails startDetails, |
|
|
|
|
|
|
|
DragUpdateDetails updateDetails) { |
|
|
|
|
|
|
|
renderEditor!.extendSelection(updateDetails.globalPosition, |
|
|
|
renderEditor!.extendSelection(updateDetails.globalPosition, |
|
|
|
cause: SelectionChangedCause.drag); |
|
|
|
cause: SelectionChangedCause.drag); |
|
|
|
} |
|
|
|
} |
|
|
|