onTap property

dynamic Function(int index) onTap
final

A callback function that is called when an item is tapped.

Implementation

final Function(int index) onTap;