startGesture method

Future<TestGesture> startGesture (Offset downLocation, { int pointer })

Begins a gesture at a particular point, and returns the TestGesture object which you can use to continue the gesture.

Implementation

Future<TestGesture> startGesture(Offset downLocation, { int pointer }) {
  return TestGesture.down(
    downLocation,
    pointer: pointer ?? _getNextPointer(),
    hitTester: hitTestOnBinding,
    dispatcher: sendEventToBinding,
  );
}