onTap method
Wraps the widget with an InkWell
to provide onTap functionality.
Implementation
Widget onTap(VoidCallback onTap) {
return GestureDetector(onTap: onTap, child: this);
}
Wraps the widget with an InkWell
to provide onTap functionality.
Widget onTap(VoidCallback onTap) {
return GestureDetector(onTap: onTap, child: this);
}