onTap property

ValueChanged<int>? onTap
final

Called when an item is tapped.

Implementation

final void Function(int)? onTap;