onTap property

void Function(T)? onTap
final

Callback triggered when the cell is tapped. Returns the original itemContent.

Implementation

final void Function(T)? onTap;