changeTab method

dynamic changeTab(
  1. int value
)

Implementation

changeTab(int value) {
  textCo.clear();
  currentTabIndex = value;
  couponErrorMsg = "";
  voucherErrorMsg = "";
  couponSuccessMsg = "";

  update();
}