selectTab method

void selectTab(
  1. int index
)

Selects a tab by its index.

  • index: The index of the tab to select.

Implementation

void selectTab(int index) {
  value = index;
}