wrapGesture method

Widget wrapGesture(
  1. dynamic tap()
)

Implementation

Widget wrapGesture(Function() tap) {
  return GestureDetector(
    onTap: tap,
    child: this,
  );
}