changeTab method

void changeTab(
  1. dynamic index
)

Implementation

void changeTab(index) {
  selectedIndex.value = index;
}