goToTab method
Implementation
void goToTab(int index) {
if (index < tabController.length) {
tabController.animateTo(index, curve: curveScroll);
}
}
void goToTab(int index) {
if (index < tabController.length) {
tabController.animateTo(index, curve: curveScroll);
}
}