onTap property

ValueChanged<int>? onTap
final

An optional callback that's called when the ZeroTabBar is tapped.

The callback is applied to the index of the tab where the tap occurred.

Implementation

final ValueChanged<int>? onTap;