onTap method
Applies a GestureDetector to detect taps
Implementation
Widget onTap(Function() onTap) {
return GestureDetector(
onTap: onTap,
child: this,
);
}
Applies a GestureDetector to detect taps
Widget onTap(Function() onTap) {
return GestureDetector(
onTap: onTap,
child: this,
);
}