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