onTap property
Callback function executed when a tab is selected. It receives the index of the current tab as a parameter.
Implementation
final Function(int)? onTap;
Callback function executed when a tab is selected. It receives the index of the current tab as a parameter.
final Function(int)? onTap;