select method
Selects the tab at index.
Throws a RangeError when index does not identify a managed tab.
Implementation
void select(int index) {
_validateIndex(index);
if (_selectedIndex == index) return;
_selectedIndex = index;
notifyListeners();
}