onTap property

(void Function(int value)?) onTap
final

Called when an item is tapped with the index of the tapped item.

Implementation

final void Function(int value)? onTap;