onTap property

Defines a function that is called when the user taps on that widget.

Implementation

final TouchRippleEventCallBack? onTap;