onTap property

void Function(T)? onTap
final

New: callback triggered when the cell is tapped.

Implementation

final void Function(T)? onTap;