startGesture method

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

Creates a gesture with an initial down gesture at a particular point, and returns the TestGesture object which you can use to continue the gesture.

You can use createGesture if your gesture doesn't begin with an initial down gesture.

Implementation

Future<TestGesture> startGesture(Offset downLocation, {int pointer}) async {
  final TestGesture result = await createGesture(pointer: pointer);
  await result.down(downLocation);
  return result;
}