onPress property

ValueChanged<int>? onPress
final

A callback that is triggered when a tab is pressed. It is called before the tab switching animation begins and the controller is updated.

Implementation

final ValueChanged<int>? onPress;