onTap property

ValueChanged<int>? onTap
final

Called when one of the items is selected

This callback usually upadtes the int passed to activeIndex

Implementation

final ValueChanged<int>? onTap;