onTap property

void Function() onTap
final

Callback function to be executed when the item is tapped.

Implementation

final void Function() onTap;