onTap property

void Function(int)? onTap
final

Called when an item is tapped.

Implementation

final void Function(int)? onTap;