selectTab method
Selects a tab by its index.
index: The index of the tab to select.
Implementation
void selectTab(int index) {
value = index;
}
Selects a tab by its index.
index: The index of the tab to select.void selectTab(int index) {
value = index;
}