onTap method
Detect taps on a widget easily
Implementation
Widget onTap({VoidCallback? onTap}) {
return GestureDetector(
onTap: onTap,
child: this,
);
}
Detect taps on a widget easily
Widget onTap({VoidCallback? onTap}) {
return GestureDetector(
onTap: onTap,
child: this,
);
}