@@ -463,6 +463,12 @@ class TestGesture {
463
463
///
464
464
/// If the pointer is down, then a move event is dispatched. If the pointer is
465
465
/// up, then a hover event is dispatched.
466
+ ///
467
+ /// See also:
468
+ /// * [WidgetController.drag] , a method to simulate a drag.
469
+ /// * [WidgetController.timedDrag] , a method to simulate the drag of a given widget in a given duration.
470
+ /// It sends move events at a given frequency and it is useful when there are listeners involved.
471
+ /// * [WidgetController.fling] , a method to simulate a fling.
466
472
Future <void > moveBy (Offset offset, { Duration timeStamp = Duration .zero }) {
467
473
assert (_pointer.location != null );
468
474
return moveTo (_pointer.location! + offset, timeStamp: timeStamp);
@@ -472,6 +478,12 @@ class TestGesture {
472
478
///
473
479
/// If the pointer is down, then a move event is dispatched. If the pointer is
474
480
/// up, then a hover event is dispatched.
481
+ ///
482
+ /// See also:
483
+ /// * [WidgetController.drag] , a method to simulate a drag.
484
+ /// * [WidgetController.timedDrag] , a method to simulate the drag of a given widget in a given duration.
485
+ /// It sends move events at a given frequency and it is useful when there are listeners involved.
486
+ /// * [WidgetController.fling] , a method to simulate a fling.
475
487
Future <void > moveTo (Offset location, { Duration timeStamp = Duration .zero }) {
476
488
return TestAsyncUtils .guard <void >(() {
477
489
if (_pointer._isDown) {
0 commit comments