press method
Dispatch a pointer down at the center of the given widget, assuming it is exposed.
If the center of the widget is not exposed, this might send events to another object.
Implementation
Future<TestGesture> press(Finder finder, { int pointer }) {
return TestAsyncUtils.guard<TestGesture>(() {
return startGesture(getCenter(finder), pointer: pointer);
});
}