With true value the function provided for onTap will be called when clicked on the tab, if false then the default tab change function will be called.
final bool useTIOnTap;