tap method
Dispatch a pointer down / pointer up sequence 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<void> tap(Finder finder, { int pointer }) {
return tapAt(getCenter(finder), pointer: pointer);
}