onTap method

Widget onTap(
  1. void onTap()?
)

Implementation

Widget onTap(void Function()? onTap) => GestureDetector(onTap: onTap, child: this);